Path: csiph.com!3.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news.unit0.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Brian May Newsgroups: linux.debian.maint.python Subject: gbp pq conversion Date: Sun, 25 Jun 2017 10:40:01 +0200 Message-ID: X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Jun 25 08:39:22 2017 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.98 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -6.1 X-Greylist: delayed 492 seconds by postgrey-1.35 at bendel; Sun, 25 Jun 2017 08:39:09 UTC MIME-Version: 1.0 Content-Type: text/plain X-Mailing-List: archive/latest/14964 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/8737aopiyy.fsf@prune.linuxpenguins.xyz Approved: robomod@news.nic.it Lines: 27 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 25 Jun 2017 18:30:45 +1000 X-Original-Message-ID: <8737aopiyy.fsf@prune.linuxpenguins.xyz> Xref: csiph.com linux.debian.maint.python:9586 I have a script in git.debian.org that will hopefully help. I am still testing it on packages, one at a time. I am not yet 100% confident in its correct operation - although it appeared to work for Django tables. /srv/home/users/bam/convert django-tables I imagine this will need some refinement. In particular, it has some paranoid checks at the top, which possibly could be relaxed. I overwrite gbp.conf instead of trying to do something sensible if it exists (hence the check to ensure it doesn't exist). I have commented out the code to the the patch queue import and export, partly because gbp is not installed on git.debian.org, and partly because this part probably should be done manually in order to check information is not lost. Hopefully the permmissions are correct, so that anyone can access the file. After the conversion the master branch will be deleted, this needs to be considered for local checked out copies - making a new clean checkout might be the easiest solution. -- Brian May https://linuxpenguins.xyz/brian/