[releng: 6/6] Merge #9 `find_unblocked_orphans: Use wrap_and_format for FTBFS`
by Dennis Gilmore
commit de1ae7cc529fdf15d3b15b32f2877e75b6b190c3
Merge: 00d60ae 50ade3f
Author: Till Maas <opensource(a)till.name>
Date: Mon Jul 13 20:53:29 2015 +0200
Merge #9 `find_unblocked_orphans: Use wrap_and_format for FTBFS`
scripts/find_unblocked_orphans.py | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
---
8 years, 9 months
[releng: 5/6] Merge #8 `find_FTBFS: Update for Fedora 23`
by Dennis Gilmore
commit 00d60ae5fdaa718ee88e95dd680fae89f1d471e8
Merge: c8fa56b 2b5f664
Author: Till Maas <opensource(a)till.name>
Date: Mon Jul 13 23:18:32 2015 +0200
Merge #8 `find_FTBFS: Update for Fedora 23`
scripts/find_FTBFS.py | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
8 years, 9 months
[releng: 4/6] find_FTBS: Fix F19 date
by Dennis Gilmore
commit 2b5f664766e44afe610031cf627d5b7edaf34cd5
Author: Till Maas <opensource(a)till.name>
Date: Mon Jul 13 23:18:32 2015 +0200
find_FTBS: Fix F19 date
scripts/find_FTBFS.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/scripts/find_FTBFS.py b/scripts/find_FTBFS.py
index d1646a5..910acf4 100755
--- a/scripts/find_FTBFS.py
+++ b/scripts/find_FTBFS.py
@@ -15,8 +15,9 @@ import koji
branched_tag = 'f23'
+# Dates retrieved from mass-rebuild.py for the respective mass rebuild
f18_rebuild_start = '2012-07-17 14:18:03.000000'
-f19_rebuild_start = '2013-02-12 00:00:00.000000'
+f19_rebuild_start = '2013-01-24 12:37:15.000000'
f20_rebuild_start = '2013-07-25 00:00:00.000000'
f21_rebuild_start = '2014-06-06 00:00:00.000000'
# no F22 rebuild
8 years, 9 months
[releng: 3/6] find_FTBFS: Fix F21 mass rebuild date
by Dennis Gilmore
commit d61f82980cd8981ffb5400c626fb572c5fe13ae3
Author: Till Maas <opensource(a)till.name>
Date: Wed Jul 8 21:17:41 2015 +0200
find_FTBFS: Fix F21 mass rebuild date
Signed-off-by: Till Maas <opensource(a)till.name>
scripts/find_FTBFS.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/find_FTBFS.py b/scripts/find_FTBFS.py
index 7696efb..d1646a5 100755
--- a/scripts/find_FTBFS.py
+++ b/scripts/find_FTBFS.py
@@ -18,7 +18,7 @@ branched_tag = 'f23'
f18_rebuild_start = '2012-07-17 14:18:03.000000'
f19_rebuild_start = '2013-02-12 00:00:00.000000'
f20_rebuild_start = '2013-07-25 00:00:00.000000'
-f21_rebuild_start = '2013-06-06 00:00:00.000000'
+f21_rebuild_start = '2014-06-06 00:00:00.000000'
# no F22 rebuild
f23_rebuild_start = '2015-06-16 00:00:00.000000'
8 years, 9 months
[releng: 2/6] find_FTBFS: Update for Fedora 23
by Dennis Gilmore
commit 8858e86f2ebe3bd032f72bf66082205e7a27bbff
Author: Till Maas <opensource(a)till.name>
Date: Thu Jul 2 22:00:54 2015 +0200
find_FTBFS: Update for Fedora 23
Signed-off-by: Till Maas <opensource(a)till.name>
scripts/find_FTBFS.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/scripts/find_FTBFS.py b/scripts/find_FTBFS.py
index 137b896..7696efb 100755
--- a/scripts/find_FTBFS.py
+++ b/scripts/find_FTBFS.py
@@ -13,15 +13,16 @@ import operator
import koji
-branched_tag = 'f22'
+branched_tag = 'f23'
f18_rebuild_start = '2012-07-17 14:18:03.000000'
f19_rebuild_start = '2013-02-12 00:00:00.000000'
f20_rebuild_start = '2013-07-25 00:00:00.000000'
f21_rebuild_start = '2013-06-06 00:00:00.000000'
# no F22 rebuild
+f23_rebuild_start = '2015-06-16 00:00:00.000000'
-epoch = f20_rebuild_start
+epoch = f21_rebuild_start
kojihub = 'https://koji.fedoraproject.org/kojihub'
kojisession = koji.ClientSession(kojihub)
8 years, 9 months
[releng: 1/6] find_unblocked_orphans: Use wrap_and_format for FTBFS
by Dennis Gilmore
commit 50ade3f5b8d5197af0d1819909984b59b9011d09
Author: Till Maas <opensource(a)till.name>
Date: Mon Jul 13 20:53:29 2015 +0200
find_unblocked_orphans: Use wrap_and_format for FTBFS
Signed-off-by: Till Maas <opensource(a)till.name>
scripts/find_unblocked_orphans.py | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/scripts/find_unblocked_orphans.py b/scripts/find_unblocked_orphans.py
index bc6d94f..f39e1bc 100755
--- a/scripts/find_unblocked_orphans.py
+++ b/scripts/find_unblocked_orphans.py
@@ -689,18 +689,20 @@ def package_info(unblocked, dep_map, depchecker, orphans=None, failed=None,
sorted(stale_breaking))
if failed:
- info += "\nFTBFS" + release_text + ": " + " ".join(failed)
- info += "\n"
+ ftbfs_label = "FTBFS" + release_text
+ info += wrap_and_format(ftbfs_label, failed)
+
ftbfs_breaking_deps = [o for o in failed if
o in dep_map and dep_map[o]]
- info += "FTBFS" + release_text + " (depended on): " + " ".join(
- ftbfs_breaking_deps)
- info += "\n\n"
+
+ info += wrap_and_format(ftbfs_label + " (depended on)",
+ ftbfs_breaking_deps)
+
ftbfs_not_breaking_deps = [o for o in failed if
o not in dep_map or not dep_map[o]]
- info += "FTBFS " + release_text + "(not depended on): " + " ".join(
- ftbfs_not_breaking_deps)
- info += "\n\n"
+
+ info += wrap_and_format(ftbfs_label + " (not depended on)",
+ ftbfs_not_breaking_deps)
if depchecker.not_in_repo:
info += wrap_and_format("Not found in repo" + release_text,
8 years, 9 months
[releng] (6 commits) ...Merge #9 `find_unblocked_orphans: Use wrap_and_format for FTBFS`
by Dennis Gilmore
Summary of changes:
50ade3f... find_unblocked_orphans: Use wrap_and_format for FTBFS
8858e86... find_FTBFS: Update for Fedora 23
d61f829... find_FTBFS: Fix F21 mass rebuild date
2b5f664... find_FTBS: Fix F19 date
00d60ae... Merge #8 `find_FTBFS: Update for Fedora 23`
de1ae7c... Merge #9 `find_unblocked_orphans: Use wrap_and_format for F
8 years, 9 months
[distgit] Moving to sha512, next step
by Mathieu Bridon
Hi,
As per the latest status report in the ticket [1], I'd like to move
forward with the next step.
I'd like to have all existing source files hardlinked to their new
path, from:
/$module/$source/$hash/$sources
To:
/$module/$source/md5/$hash/$sources
Doing this makes it easier to continue with the changes to fedpkg:
1. all files uploaded since June 5 exist both at the old and new paths
2. all files uploaded before only exist at the old path
3. fedpkg currently downloads from the old path, but we'll eventually
make it download from the new path
If we changed fedpkg right now, then it needs to try downloading at the
new path, and if that fails, fallback on the old path. I have code
doing just that ready to be sent as a pull request if needed.
However, if we first hardlink all existing source files to the new
path, then we don't even need the fallback in fedpkg, which makes the
code much simpler.
Note: hardlinking to the sha512 path can come at a later stage, for
now I am only talking about hardlinking to the new md5 path.
Attached is an Ansible patch that adds a script I wrote, which iterates
over all source files in the lookaside cache, and:
- if the file is at the old path, verify its md5 and hardlink it to
the new path
- if the file is at the new path, just verify its md5
I ran that script in staging with a limited subset of the lookaside
cache [2] and it did the job.
I'd like some review of the script first, and then someone to run it in
production. The script won't do anything without the --perform option,
so it's safe to try it out first:
$ make-new-lookaside-links /srv/cache/lookaside/pkgs/
At that point I'd like a chance to review the output, to make sure
everything is going as expected. :)
When ready to actually do it: [3]
$ make-new-lookaside-links --perform /srv/cache/lookaside/pkgs/
I'm happy to discuss this more here on on IRC, and I'll try my best to
be available when someone runs it in production.
Thanks,
[1] https://fedorahosted.org/rel-eng/ticket/5846#comment:23
[2] all the 'ad*' packages, thanks to Ralph for syncing them over from
prod
[3] running the script with the --perform option requires doing so as a
user with write permission inside of /srv/cache/lookaside/pkgs/...
Either apache or root should work.
--
Mathieu
8 years, 9 months