1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries from April
2024</title>
5 <description>Entries from April
2024</description>
6 <link>https://people.skolelinux.org/pere/blog/
</link>
10 <title>Time to move orphaned Debian packages to git
</title>
11 <link>https://people.skolelinux.org/pere/blog/Time_to_move_orphaned_Debian_packages_to_git.html
</link>
12 <guid isPermaLink=
"true">https://people.skolelinux.org/pere/blog/Time_to_move_orphaned_Debian_packages_to_git.html
</guid>
13 <pubDate>Sun,
14 Apr
2024 09:
30:
00 +
0200</pubDate>
14 <description><p
>There are several packages in Debian without a associated git
15 repository with the packaging history. This is unfortunate and it
16 would be nice if more of these would do so. Quote a lot of these are
17 without a maintainer, ie listed as maintained by the
18 '<a href=
"https://qa.debian.org/developer.php?email=packages%
40qa.debian.org
">Debian
19 QA Group
</a
>' place holder. In fact,
438 packages have this property
20 according to UDD (
<tt
>SELECT source FROM sources WHERE release =
'sid
'
21 AND (vcs_url ilike
'%anonscm.debian.org%
' OR vcs_browser ilike
22 '%anonscm.debian.org%
' or vcs_url IS NULL OR vcs_browser IS NULL) AND
23 maintainer ilike
'%packages@qa.debian.org%
';
</tt
>). Such packages can
24 be updated without much coordination by any Debian developer, as they
25 are considered orphaned.
</p
>
27 <p
>To try to improve the situation and reduce the number of packages
28 without associated git repository, I started a few days ago to search
29 out candiates and provide them with a git repository under the
30 'debian
' collaborative Salsa project. I started with the packages
31 pointing to obsolete Alioth git repositories, and am now working my
32 way across the ones completely without git references. In addition to
33 updating the Vcs-* debian/control fields, I try to update
34 Standards-Version, debhelper compat level, simplify d/rules, switch to
35 Rules-Requires-Root: no and fix lintian issues reported. I only
36 implement those that are trivial to fix, to avoid spending too much
37 time on each orphaned package. So far my experience is that it take
38 aproximately
20 minutes to convert a package without any git
39 references, and a lot more for packages with existing git repositories
40 incompatible with git-buildpackages.
</p
>
42 <p
>So far I have converted
10 packages, and I will keep going until I
43 run out of steam. As should be clear from the numbers, there is
44 enough packages remaining for more people to do the same without
45 stepping on each others toes. I find it useful to start by searching
46 for a git repo already on salsa, as I find that some times a git repo
47 has already been created, but no new version is uploaded to Debian
48 yet. In those cases I start with the existing git repository. I
49 convert to the git-buildpackage+pristine-tar workflow, and ensure a
50 debian/gbp.conf file with
"pristine-tar=True
" is added early, to avoid
51 uploading a orig.tar.gz with the wrong checksum by mistake. Did that
52 three times in the begin before I remembered my mistake.
</p
>
54 <p
>So, if you are a Debian Developer and got some spare time, perhaps
55 considering migrating some orphaned packages to git?
</p
>
57 <p
>As usual, if you use Bitcoin and want to show your support of my
58 activities, please send Bitcoin donations to my address
59 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>