mirror of
https://github.com/clearlinux/common.git
synced 2026-09-06 21:51:28 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
497f2a66f4 | ||
|
|
3b8d3c66ea | ||
|
|
373cbad44c | ||
|
|
0fcc984675 | ||
|
|
78023bd74a | ||
|
|
d2b5b72346 | ||
|
|
4953d9e087 | ||
|
|
ee37765ed2 | ||
|
|
492abf6d32 | ||
|
|
2562a8c7fb | ||
|
|
5fd02ece36 | ||
|
|
039e63fb1e | ||
|
|
dcf8bc4978 | ||
|
|
3951710117 | ||
|
|
504d77bc58 | ||
|
|
d3514ae496 | ||
|
|
4403e9280a | ||
|
|
0aed61be35 | ||
|
|
cdda6bcece | ||
|
|
61203724ab | ||
|
|
3dfbdf4c58 | ||
|
|
e0e5b4b1a7 | ||
|
|
b95dd8c67f | ||
|
|
8ed4d2d0de | ||
|
|
023a2da624 | ||
|
|
cdd4aeebe2 | ||
|
|
ee744332e0 | ||
|
|
353042a9bd | ||
|
|
1a0366ab21 | ||
|
|
4080b704f3 | ||
|
|
4626f673ca | ||
|
|
5121c565eb | ||
|
|
a26aea0290 | ||
|
|
54a9f967c3 | ||
|
|
9153630dcb | ||
|
|
d80039c90b | ||
|
|
f5a3630590 | ||
|
|
75cb8bf424 | ||
|
|
2a586be1b3 | ||
|
|
93fccd1edf | ||
|
|
9527057e5e | ||
|
|
f3500feb2d | ||
|
|
05598abd55 | ||
|
|
2b0163ef73 | ||
|
|
3f2b9100e6 | ||
|
|
1b841e095d | ||
|
|
579d79ef92 | ||
|
|
d85dfaec30 | ||
|
|
8787caac84 | ||
|
|
181006f851 | ||
|
|
480917e514 | ||
|
|
afab562778 | ||
|
|
21ae357eeb | ||
|
|
b4989fae9b | ||
|
|
09d1f48a31 | ||
|
|
3a5cfb76c6 | ||
|
|
763c25ac43 | ||
|
|
b97bc72f65 | ||
|
|
6af8cdfa99 | ||
|
|
dd378bba6c | ||
|
|
4b63761b45 | ||
|
|
5882fa9b80 | ||
|
|
8c028f361d | ||
|
|
56dfe24b31 | ||
|
|
5f2827db17 | ||
|
|
f3d664e694 | ||
|
|
088ab41319 | ||
|
|
b2a39834c2 | ||
|
|
b7184a56a8 | ||
|
|
976837dd36 |
@@ -391,6 +391,17 @@ koji-waitrepo: kojidef
|
|||||||
koji wait-repo --build=${SRPMVERS} ${WAIT_OPTS} ${KOJI_TAG}-build; \
|
koji wait-repo --build=${SRPMVERS} ${WAIT_OPTS} ${KOJI_TAG}-build; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
.PHONY: koji-tag
|
||||||
|
#help koji-tag: runs koji tag-pkg on what's in the current specfile's nvr
|
||||||
|
koji-tag:
|
||||||
|
koji tag-pkg dist-clear $(SRPMVERS)
|
||||||
|
|
||||||
|
.PHONY: koji-untag
|
||||||
|
#help koji-untag: runs koji untag-pkg on what's in the current specfile's nvr
|
||||||
|
koji-untag:
|
||||||
|
koji untag-pkg dist-clear $(SRPMVERS)
|
||||||
|
|
||||||
|
|
||||||
update-versions:
|
update-versions:
|
||||||
|
|
||||||
.PHONY: update
|
.PHONY: update
|
||||||
|
|||||||
+9
-3
@@ -126,11 +126,17 @@ endif
|
|||||||
pull: ${PULL_PKGS}
|
pull: ${PULL_PKGS}
|
||||||
|
|
||||||
#help clean-pkgs-dir: For packages that are no longer present in the distro,
|
#help clean-pkgs-dir: For packages that are no longer present in the distro,
|
||||||
#help removes the associated package repos from the ./packages tree
|
#help removes the associated package repos from the ./packages tree and stores
|
||||||
|
#help it in packages_old. If it already exists in packages_old, skip it.
|
||||||
clean-pkgs-dir: $(PACKAGES_FILE)
|
clean-pkgs-dir: $(PACKAGES_FILE)
|
||||||
@for p in ${PKGS_ORPHANED}; do \
|
@for p in ${PKGS_ORPHANED}; do \
|
||||||
echo "Removing $$p from packages, it is no longer in common/packages."; \
|
mkdir -p packages_old; \
|
||||||
rm -rf packages/$$p; \
|
if [ -d "packages_old/$$p" ]; then \
|
||||||
|
echo "packages_old/$$p already exists, not touching it"; \
|
||||||
|
else \
|
||||||
|
echo "Moving $$p from packages to packages_old, as it is no longer in common/packages."; \
|
||||||
|
mv packages/$$p packages_old/$$p; \
|
||||||
|
fi; \
|
||||||
done
|
done
|
||||||
@echo "packages directory cleaned";
|
@echo "packages directory cleaned";
|
||||||
|
|
||||||
|
|||||||
@@ -97,8 +97,8 @@ def update_cargo_sources(name, tag):
|
|||||||
with open('Makefile', encoding='utf8') as mfile:
|
with open('Makefile', encoding='utf8') as mfile:
|
||||||
for line in mfile.readlines():
|
for line in mfile.readlines():
|
||||||
if line.startswith('ARCHIVES'):
|
if line.startswith('ARCHIVES'):
|
||||||
if re.match(archive_match + '[a-zA-Z0-9_\-.]+\.tar\.xz', line):
|
if re.match(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz', line):
|
||||||
new_archives = re.sub(archive_match + '[a-zA-Z0-9_\-.]+\.tar\.xz',
|
new_archives = re.sub(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz',
|
||||||
f"{archive_match}-{tag}.tar.xz\n", line)
|
f"{archive_match}-{tag}.tar.xz\n", line)
|
||||||
else:
|
else:
|
||||||
new_archives = f"ARCHIVES = {archive_match}-{tag}.tar.xz ./vendor\n"
|
new_archives = f"ARCHIVES = {archive_match}-{tag}.tar.xz ./vendor\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user