ghdl 0.4.4__tar.gz → 0.4.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ghdl-0.4.4 → ghdl-0.4.5}/PKG-INFO +1 -1
- {ghdl-0.4.4 → ghdl-0.4.5}/ghdl/__init__.hy +1 -1
- {ghdl-0.4.4 → ghdl-0.4.5}/ghdl/main.hy +2 -2
- {ghdl-0.4.4 → ghdl-0.4.5}/ghdl/remote.hy +4 -1
- {ghdl-0.4.4 → ghdl-0.4.5}/pyproject.toml +1 -1
- {ghdl-0.4.4 → ghdl-0.4.5}/LICENSE +0 -0
- {ghdl-0.4.4 → ghdl-0.4.5}/bin/ghdl +0 -0
- {ghdl-0.4.4 → ghdl-0.4.5}/bin/ghdl-delete-repo +0 -0
- {ghdl-0.4.4 → ghdl-0.4.5}/ghdl/__init__.py +0 -0
- {ghdl-0.4.4 → ghdl-0.4.5}/ghdl/config.hy +0 -0
- {ghdl-0.4.4 → ghdl-0.4.5}/ghdl/local.hy +0 -0
- {ghdl-0.4.4 → ghdl-0.4.5}/ghdl/schema.hy +0 -0
- {ghdl-0.4.4 → ghdl-0.4.5}/ghdl/utils.hy +0 -0
|
@@ -39,6 +39,8 @@
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
(defn/a add-remote-metadata [record client]
|
|
42
|
+
(setv record.url None)
|
|
43
|
+
|
|
42
44
|
(setv remote-metadata
|
|
43
45
|
(try
|
|
44
46
|
(await (remote.metadata record client Config.token))
|
|
@@ -46,7 +48,6 @@
|
|
|
46
48
|
(print f"Failed to fetch remote data from Github API for {record.repo}")
|
|
47
49
|
(print (traceback.format_exc))
|
|
48
50
|
(setv record.toUpdate? False)
|
|
49
|
-
(setv record.url "N/A")
|
|
50
51
|
(.append Config.failures #(record.repo "Network"))
|
|
51
52
|
(return))))
|
|
52
53
|
|
|
@@ -57,7 +58,6 @@
|
|
|
57
58
|
(if (not dl-url)
|
|
58
59
|
(do
|
|
59
60
|
(setv record.toUpdate? False)
|
|
60
|
-
(setv record.url "N/A")
|
|
61
61
|
(.append Config.failures #(record.repo "No Matching URL"))
|
|
62
62
|
(return))
|
|
63
63
|
(setv record.url dl-url)))
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
(require hyrule [-> assoc])
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
(defclass NoMatchingReleaseException [Exception])
|
|
7
|
+
|
|
8
|
+
|
|
6
9
|
(setv Remote (namedtuple "Record" '("tag" "timestamp" "url_data")))
|
|
7
10
|
|
|
8
11
|
|
|
@@ -23,7 +26,7 @@
|
|
|
23
26
|
(when (bool (re.search pattern name))
|
|
24
27
|
(return release)))
|
|
25
28
|
(print f"No matching release found for: {release-filter}")
|
|
26
|
-
(raise
|
|
29
|
+
(raise NoMatchingReleaseException))
|
|
27
30
|
|
|
28
31
|
|
|
29
32
|
(defn/a get-remote [record client [token None]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|