moat-src 0.9.6__tar.gz → 0.9.9__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.
- {moat_src-0.9.6/src/moat_src.egg-info → moat_src-0.9.9}/PKG-INFO +1 -1
- {moat_src-0.9.6 → moat_src-0.9.9}/debian/changelog +24 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/pyproject.toml +1 -1
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/_main.py +22 -11
- {moat_src-0.9.6 → moat_src-0.9.9/src/moat_src.egg-info}/PKG-INFO +1 -1
- {moat_src-0.9.6 → moat_src-0.9.9}/LICENSE.txt +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/Makefile +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/debian/.gitignore +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/debian/control +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/debian/rules +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/setup.cfg +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/__init__.py +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/_cfg.yaml +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/_templates/moat/__init__.py +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/_templates/moat/_main.py +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/_templates/packaging/pyproject.default.yaml +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/_templates/packaging/pyproject.forced.yaml +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/inspect.py +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat/src/test.py +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat_src.egg-info/SOURCES.txt +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat_src.egg-info/dependency_links.txt +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat_src.egg-info/requires.txt +0 -0
- {moat_src-0.9.6 → moat_src-0.9.9}/src/moat_src.egg-info/top_level.txt +0 -0
@@ -1,3 +1,27 @@
|
|
1
|
+
moat-src (0.9.9-1) unstable; urgency=medium
|
2
|
+
|
3
|
+
* New release for 25.3.6
|
4
|
+
|
5
|
+
-- Matthias Urlichs <matthias@urlichs.de> Tue, 22 Jul 2025 13:22:59 +0200
|
6
|
+
|
7
|
+
moat-src (0.9.8-1) unstable; urgency=medium
|
8
|
+
|
9
|
+
* New release for 25.3.6
|
10
|
+
|
11
|
+
-- Matthias Urlichs <matthias@urlichs.de> Tue, 22 Jul 2025 13:12:31 +0200
|
12
|
+
|
13
|
+
moat-src (0.9.7-2) unstable; urgency=medium
|
14
|
+
|
15
|
+
* New release for 25.3.5
|
16
|
+
|
17
|
+
-- Matthias Urlichs <matthias@urlichs.de> Tue, 22 Jul 2025 12:41:50 +0200
|
18
|
+
|
19
|
+
moat-src (0.9.7-1) unstable; urgency=medium
|
20
|
+
|
21
|
+
* New release for 25.3.4
|
22
|
+
|
23
|
+
-- Matthias Urlichs <matthias@urlichs.de> Tue, 22 Jul 2025 12:11:47 +0200
|
24
|
+
|
1
25
|
moat-src (0.9.6-1) unstable; urgency=medium
|
2
26
|
|
3
27
|
* New release for 25.3.3
|
@@ -10,6 +10,7 @@ from collections import defaultdict, deque
|
|
10
10
|
from configparser import RawConfigParser
|
11
11
|
from pathlib import Path
|
12
12
|
from copy import deepcopy
|
13
|
+
from packaging.version import Version
|
13
14
|
|
14
15
|
import asyncclick as click
|
15
16
|
import git
|
@@ -189,8 +190,12 @@ class Package(_Common):
|
|
189
190
|
lc = self.last_commit
|
190
191
|
except AttributeError:
|
191
192
|
return True
|
192
|
-
for d in head.diff(
|
193
|
-
|
193
|
+
for d in head.diff(
|
194
|
+
self.last_commit if main else self._repo.last_tag,
|
195
|
+
paths=self.path if main else Path("packaging")/self.dash,
|
196
|
+
):
|
197
|
+
pp=Path(d.b_path)
|
198
|
+
if pp.name == "changelog" and pp.parent.name == "debian":
|
194
199
|
continue
|
195
200
|
if (
|
196
201
|
self._repo.repo_for(d.a_path, main) != self.name
|
@@ -247,15 +252,21 @@ class Repo(git.Repo, _Common):
|
|
247
252
|
if self._last_tag is not None:
|
248
253
|
return self._last_tag
|
249
254
|
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
255
|
+
tag = None
|
256
|
+
vers = None
|
257
|
+
for tt in self._commit_tags.values():
|
258
|
+
for t in tt:
|
259
|
+
if "/" in t.name:
|
260
|
+
continue
|
261
|
+
tv = Version(t.name)
|
262
|
+
if tag is None or vers < tv:
|
263
|
+
tag = t
|
264
|
+
vers = tv
|
257
265
|
|
258
|
-
|
266
|
+
if tag is None:
|
267
|
+
raise ValueError("No tags found")
|
268
|
+
self._last_tag = tag.name
|
269
|
+
return tag.name
|
259
270
|
|
260
271
|
@property
|
261
272
|
def last_commit(self) -> str:
|
@@ -1039,7 +1050,7 @@ async def build(
|
|
1039
1050
|
)
|
1040
1051
|
tag,ptag = res.stdout.strip().decode("utf-8").rsplit("-", 1)
|
1041
1052
|
ptag = int(ptag)
|
1042
|
-
if tag != ltag or r.vers.pkg
|
1053
|
+
if tag != ltag or r.vers.pkg > ptag:
|
1043
1054
|
subprocess.run(
|
1044
1055
|
[
|
1045
1056
|
"debchange",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|