]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2024/07/index.html
Generated.
[homepage.git] / blog / archive / 2024 / 07 / index.html
index a541644a82d23c90c4560be03f6a667a26f70e8f..d712bd59518e26e175be75d93752b77da0e771d5 100644 (file)
 
     <h3>Entries from July 2024.</h3>
     
+    <div class="entry">
+      <div class="title">
+        <a href="https://people.skolelinux.org/pere/blog/More_than_200_orphaned_Debian_packages_moved_to_git__216_to_go.html">More than 200 orphaned Debian packages moved to git, 216 to go</a>
+      </div>
+      <div class="date">
+        11th July 2024
+      </div>
+      <div class="body">
+        <p><a href="https://people.skolelinux.org/pere/blog/Time_to_move_orphaned_Debian_packages_to_git.html">In
+April</a>, I started migrating orphaned Debian packages without any
+version control system listed in debian/control to git.  This morning,
+my Debian QA page finally reached 200 QA packages migrated.  In
+reality there are a few more, as the packages uploaded by someone else
+after my initial upload have disappeared from my QA uploads list.  As
+I am running out of steam and will most likely focus on other parts of
+Debian moving forward, I hope someone else will find time to continue
+the migration to bring the number of orphaned packages without any
+version control system down to zero.  Here is the updated recipe if
+someone want to help out.</p>
+
+<p>To locate packages to work on, the following one-liner can be used:</p>
+
+<blockquote><pre>
+PGPASSWORD="udd-mirror" psql --port=5432 --host=udd-mirror.debian.net \
+  --username=udd-mirror udd -c "select source from sources \
+   where release = 'sid' and (vcs_url ilike '%anonscm.debian.org%' \
+   OR vcs_browser ilike '%anonscm.debian.org%' or vcs_url IS NULL \
+   OR vcs_browser IS NULL) AND maintainer ilike '%packages@qa.debian.org%' \
+   order by random() limit 10;"
+</pre></blockquote>
+
+<p>Pick a random package from the list and run the latest edition of
+the script
+<tt><a href="https://people.skolelinux.org/pere/blog/images/2024-07-11-debian-snap-to-salsa.sh">debian-snap-to-salsa</a></tt>
+with the package name as the argument to prepare a git repository with
+the existing packaging.  This will download old Debian packages from
+<tt>snapshot.debian.org</tt>.  Note that very recent uploads will not
+be included, so check out the package on <tt>tracker.debian.org</tt>.
+Next, run <tt>gbp buildpackage --git-ignore-new</tt> to verify that
+the package build as it should, and then visit
+<a href="https://salsa.debian.org/debian/">https://salsa.debian.org/debian/</a>
+and make sure there is not already a git repository for the package
+there.  I also did <tt>git log -p debian/control</tt> and look for vcs
+entries to check if the package used to have a git repository on
+Alioth, and see if it can be a useful starting point moving forward.
+If all this check out, I created a new gitlab project below the Debian
+group on salsa, push the package source there and upload a new version.
+I tend to also ensure build hardening is enabled, if it prove to be
+easy, and check if I can easily fix any lintian issues or bug reports.
+If the process took more than 20 minutes, I dropped it and moved on to
+another package.</p>
+
+<p>If I found patches in debian/patches/ that were not yet passed
+upstream, I would send an email to make sure upstream know about them.
+This has proved to be a valuable step, and caused several new releases
+for software that initially appeared abandoned. :)</p>
+
+<p>As usual, if you use Bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
+
+      </div>
+      <div class="tags">
+        
+        
+        Tags: <a href="https://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="https://people.skolelinux.org/pere/blog/tags/english">english</a>.
+        
+        
+      </div>
+    </div>
+    <div class="padding"></div>
+    
     <div class="entry">
       <div class="title">
         <a href="https://people.skolelinux.org/pere/blog/Some_notes_from_the_2024_LinuxCNC_Norwegian_developer_gathering.html">Some notes from the 2024 LinuxCNC Norwegian developer gathering</a>
@@ -118,7 +190,7 @@ transport for such gathering?</p>
 
 <li><a href="https://people.skolelinux.org/pere/blog/archive/2024/06/">June (1)</a></li>
 
-<li><a href="https://people.skolelinux.org/pere/blog/archive/2024/07/">July (1)</a></li>
+<li><a href="https://people.skolelinux.org/pere/blog/archive/2024/07/">July (2)</a></li>
 
 </ul></li>
 
@@ -559,7 +631,7 @@ transport for such gathering?</p>
 
  <li><a href="https://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (3)</a></li>
 
- <li><a href="https://people.skolelinux.org/pere/blog/tags/debian">debian (201)</a></li>
+ <li><a href="https://people.skolelinux.org/pere/blog/tags/debian">debian (202)</a></li>
 
  <li><a href="https://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (159)</a></li>
 
@@ -573,7 +645,7 @@ transport for such gathering?</p>
 
  <li><a href="https://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
 
- <li><a href="https://people.skolelinux.org/pere/blog/tags/english">english (463)</a></li>
+ <li><a href="https://people.skolelinux.org/pere/blog/tags/english">english (464)</a></li>
 
  <li><a href="https://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (23)</a></li>