Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7643 > unrolled thread

git repo lint tool

Started byStefano Rivera <stefanor@debian.org>
First post2015-10-13 16:40 +0200
Last post2015-10-13 22:50 +0200
Articles 11 — 6 participants

Back to article view | Back to linux.debian.maint.python


Contents

  git repo lint tool Stefano Rivera <stefanor@debian.org> - 2015-10-13 16:40 +0200
    Re: git repo lint tool Barry Warsaw <barry@debian.org> - 2015-10-13 16:50 +0200
    Re: git repo lint tool Sandro Tosi <morph@debian.org> - 2015-10-13 16:50 +0200
      Re: git repo lint tool Stefano Rivera <stefanor@debian.org> - 2015-10-13 18:20 +0200
    Re: git repo lint tool Sebastian Ramacher <sramacher@debian.org> - 2015-10-13 17:10 +0200
      Re: git repo lint tool Stefano Rivera <stefanor@debian.org> - 2015-10-13 17:20 +0200
    Re: git repo lint tool Stefano Rivera <stefanor@debian.org> - 2015-10-13 18:00 +0200
      Re: git repo lint tool Daniel Stender <debian@danielstender.com> - 2015-10-13 18:10 +0200
    Re: git repo lint tool Daniel Stender <debian@danielstender.com> - 2015-10-13 18:00 +0200
    Re: git repo lint tool Brian May <brian@microcomaustralia.com.au> - 2015-10-13 22:10 +0200
      Re: git repo lint tool Stefano Rivera <stefanor@debian.org> - 2015-10-13 22:50 +0200

#7643 — git repo lint tool

FromStefano Rivera <stefanor@debian.org>
Date2015-10-13 16:40 +0200
Subjectgit repo lint tool
Message-ID<qj8Ua-Wq-7@gated-at.bofh.it>
Many of the non-migrated git repos are a bit of a mess. I've written a
tool that looks for common problems.

It's on alioth:
$ cd /git/python-modules
$ ./check-repositories

Here are the current issues, DD list below:

=== Issues ===

alembic: Non-Canonical Vcs fields
backports.ssl-match-hostname: No Vcs fields
breathe: Non-Canonical Vcs fields
codespeak-lib: Non-Canonical Vcs fields
deap: Non-Canonical Vcs fields
deap: Not git-dpmmed
django-colorful: No control file
django-colorful: Not git-dpmmed
django-session-security: No control file
django-session-security: Not git-dpmmed
djoser: Not git-dpmmed
dockerpty: Non-Canonical Vcs fields
flask-migrate: No Vcs fields
flask-openid: Non-Canonical Vcs fields
gamera: Non-Canonical Vcs fields
gamera: Not git-dpmmed
greekocr4gamera: Non-Canonical Vcs fields
greekocr4gamera: Not git-dpmmed
ipykernel: Non-Canonical Vcs fields
ipython-genutils: Non-Canonical Vcs fields
jupyter-client: Non-Canonical Vcs fields
jupyter-core: Non-Canonical Vcs fields
lazr.config: Non-Canonical Vcs fields
lazr.delegates: Non-Canonical Vcs fields
lazr.smtptest: Non-Canonical Vcs fields
lightblue: Missing PTS notification
mistune: Non-Canonical Vcs fields
nbconvert: Non-Canonical Vcs fields
nbformat: Non-Canonical Vcs fields
ntplib: No Vcs fields
ocr4gamera: Non-Canonical Vcs fields
ocr4gamera: Not git-dpmmed
path.py: Non-Canonical Vcs fields
pdfrw: Insufficient permissions on packages/pdfrw.git/hooks/post-receive
pdfrw: Not configured to be shared
pdfrw: No Vcs fields
pep8-naming: Non-Canonical Vcs fields
pep8-naming: Not git-dpmmed
pickleshare: Non-Canonical Vcs fields
ptyprocess: Non-Canonical Vcs fields
pybloomfiltermmap: No Vcs fields
pycurl: Non-Canonical Vcs fields
pylint-celery: Non-Canonical Vcs fields
pylint-celery: Not git-dpmmed
pylint-common: Non-Canonical Vcs fields
pylint-common: Not git-dpmmed
pymodbus: Non-Canonical Vcs fields
pysimplesoap: No Vcs fields
pytest-catchlog: Non-Canonical Vcs fields
pytest-catchlog: Not git-dpmmed
pytest-localserver: Non-Canonical Vcs fields
pytest-localserver: Not git-dpmmed
pytest-tornado: Non-Canonical Vcs fields
pytest-tornado: Not git-dpmmed
python-altgraph: Non-Canonical Vcs fields
python-aniso8601: No Vcs fields
python-bcrypt: No Vcs fields
python-cachecontrol: Non-Canonical Vcs fields
python-commodity: Missing PTS notification
python-concurrent.futures: Non-Canonical Vcs fields
python-cssselect: Non-Canonical Vcs fields
python-daemonize: No Vcs fields
python-dbusmock: Non-Canonical Vcs fields
python-diaspy: Non-Canonical Vcs fields
python-django-haystack: No control file
python-django-haystack: Not git-dpmmed
python-django: No control file
python-django: Not git-dpmmed
python-djvulibre: Non-Canonical Vcs fields
python-djvulibre: Not git-dpmmed
python-easywebdav: Non-Canonical Vcs fields
python-eventlet: Non-Canonical Vcs fields
python-exif: Non-Canonical Vcs fields
python-future: Non-Canonical Vcs fields
python-gear: Not git-dpmmed
python-getdns: Non-Canonical Vcs fields
python-ghost: Non-Canonical Vcs fields
python-hl7: No Vcs fields
python-humanize: No Vcs fields
python-iso8601: Non-Canonical Vcs fields
python-libdiscid: Non-Canonical Vcs fields
python-macholib: Non-Canonical Vcs fields
python-mpld3: Non-Canonical Vcs fields
python-mplexporter: Non-Canonical Vcs fields
python-odf: Non-Canonical Vcs fields
python-odoorpc: Non-Canonical Vcs fields
python-oerplib: Missing post-receive hook
python-oerplib: No git-dpm tag config
python-oerplib: Non-Canonical Vcs fields
python-peak.rules: Not git-dpmmed
python-peak.util: Not git-dpmmed
python-pex: Non-Canonical Vcs fields
python-pip: Non-Canonical Vcs fields
python-pluggy: Non-Canonical Vcs fields
python-pypdf: Not git-dpmmed
python-pypump: Missing team mailing list notification
python-pypump: Non-Canonical Vcs fields
python-pysolar: Non-Canonical Vcs fields
python-reportlab: No Vcs fields
python-requirements-detector: Non-Canonical Vcs fields
python-requirements-detector: Not git-dpmmed
python-sentinels: Non-Canonical Vcs fields
python-setoptconf: Non-Canonical Vcs fields
python-setoptconf: Not git-dpmmed
python-sk1libs: No control file
python-sk1libs: Not git-dpmmed
python-structlog: No Vcs fields
python-subprocess32: Non-Canonical Vcs fields
python-subprocess32: Not git-dpmmed
python-svg.path: Missing PTS notification
python-svg.path: No control file
python-svg.path: Not git-dpmmed
python-testtools: Non-Canonical Vcs fields
python-xmp-toolkit: Non-Canonical Vcs fields
python-xmp-toolkit: Not git-dpmmed
pyuca: Non-Canonical Vcs fields
setuptools-scm: Non-Canonical Vcs fields
terminado: Non-Canonical Vcs fields
testpath: Non-Canonical Vcs fields
tox: Non-Canonical Vcs fields
traitlets: Non-Canonical Vcs fields
twistar: No git-dpm tag config
twistar: Non-Canonical Vcs fields
twistar: Not configured to be shared
vcr.py: Non-Canonical Vcs fields
vcr.py: Not git-dpmmed


=== DD List ===

Andreas Tille <tille@debian.org>
   python-hl7 (U)

Antoine Musso <hashar@free.fr>
   python-gear (U)

Barry Warsaw <barry@debian.org>
   lazr.config
   lazr.delegates
   lazr.smtptest
   pycurl
   python-cachecontrol
   python-future (U)
   python-iso8601 (U)
   python-pex
   python-pip (U)
   python-pluggy
   tox

Benjamin Mako Hill <mako@debian.org>
   python-iso8601 (U)

Brian May <bam@debian.org>
   python-django (U)

Carl Chenet <chaica@debian.org>
   python-pip (U)

Daniel Kahn Gillmor <dkg@fifthhorseman.net>
   python-getdns (U)

Daniel Stender <debian@danielstender.com>
   deap
   gamera
   greekocr4gamera
   ocr4gamera
   pep8-naming
   pylint-celery
   pylint-common
   pytest-catchlog
   pytest-localserver
   pytest-tornado
   python-djvulibre
   python-requirements-detector
   python-setoptconf
   python-subprocess32
   python-xmp-toolkit
   vcr.py

Daniele Tricoli <eriol@mornie.org>
   python-peak.rules (U)
   python-peak.util (U)

Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
   python-hl7

Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
   python-libdiscid

Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
   backports.ssl-match-hostname
   deap (U)
   django-haystack
   django-session-security
   djoser
   dockerpty
   flask-migrate
   gamera (U)
   greekocr4gamera (U)
   ipython-genutils
   lazr.config (U)
   lazr.delegates (U)
   lazr.smtptest (U)
   ntplib
   ocr4gamera (U)
   pep8-naming (U)
   ptyprocess
   pycurl (U)
   pylint-celery (U)
   pylint-common (U)
   pymodbus
   pysolar
   pytest-catchlog (U)
   pytest-localserver (U)
   pytest-tornado (U)
   python-altgraph
   python-bcrypt
   python-cachecontrol (U)
   python-cssselect
   python-dbusmock
   python-diaspy
   python-django
   python-djvulibre (U)
   python-easywebdav
   python-exif
   python-future
   python-gear
   python-ghost
   python-humanize
   python-iso8601
   python-macholib
   python-mpld3
   python-mplexporter
   python-odf
   python-odoorpc
   python-oerplib
   python-peak.rules
   python-peak.util
   python-pex (U)
   python-pip
   python-pluggy (U)
   python-pypdf
   python-pypump
   python-reportlab (U)
   python-requirements-detector (U)
   python-setoptconf (U)
   python-structlog
   python-subprocess32 (U)
   python-testtools
   python-xmp-toolkit (U)
   terminado
   testpath
   vcr.py (U)

Debian QA Group <packages@qa.debian.org>
   pdfrw

Filippo Giunchedi <filippo@debian.org>
   python-structlog (U)

Georges Khaznadar <georgesk@debian.org>
   python-odf (U)

Gonéri Le bouder <goneri@debian.org>
   python-concurrent.futures (U)

IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
   python-altgraph (U)
   python-easywebdav (U)
   python-macholib (U)

Jason Pleau <jason@jpleau.ca>
   dockerpty (U)

Jean-Michel Vourgère <nirgal@debian.org>
   django-session-security (U)

Jeff Licquia <licquia@debian.org>
   python-pip (U)

Jelmer Vernooij <jelmer@debian.org>
   python-testtools (U)

John Paulett <john@paulett.org>
   python-hl7 (U)

Jonathan Carter <jonathan@ubuntu.com>
   python-aniso8601

Julien Danjou <acid@debian.org>
   python-concurrent.futures (U)

Julien Puydt <julien.puydt@laposte.net>
   ipython-genutils (U)
   mistune
   ptyprocess (U)
   setuptools-scm
   terminado (U)
   testpath (U)

Laszlo Boszormenyi (GCS) <gcs@debian.hu>
   python-eventlet (U)

Luciano Bello <luciano@debian.org>
   pybloomfiltermmap
   python-pypdf (U)

Luke Faraone <lfaraone@debian.org>
   python-django (U)

Martin Pitt <mpitt@debian.org>
   python-dbusmock (U)

Matthias Klose <doko@debian.org>
   python-reportlab

Maximiliano Curia <maxy@debian.org>
   pymodbus (U)

Mehdi Abaakouk <sileht@sileht.net>
   python-concurrent.futures (U)

Michael Fladischer <fladi@debian.org>
   django-haystack (U)
   djoser (U)

Miriam Ruiz <miriam@debian.org>
   deap (U)

Nicolas Dandrimont <olasd@debian.org>
   backports.ssl-match-hostname (U)

Ondřej Surý <ondrej@debian.org>
   python-getdns

Paul Belanger <paul.belanger@polybeacon.com>
   python-gear (U)

Piotr Ożarowski <piotr@debian.org>
   alembic (U)

PKG OpenStack <openstack-devel@lists.alioth.debian.org>
   alembic
   python-concurrent.futures
   python-daemonize
   python-eventlet
   python-testtools

Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
   tox (U)

Raphaël Hertzog <hertzog@debian.org>
   python-django (U)

Robert Collins <robertc@robertcollins.net>
   python-testtools (U)

Sandro Tosi <morph@debian.org>
   pysimplesoap

Scott Kitterman <scott@kitterman.com>
   python-getdns (U)

Sebastian Ramacher <sramacher@debian.org>
   breathe
   flask-openid
   python-libdiscid (U)

Simon Fondrie-Teitler <simonft@riseup.net>
   python-bcrypt (U)
   python-pypump (U)

Sylvestre Ledru <sylvestre@debian.org>
   python-humanize (U)

TANIGUCHI Takaki <takaki@debian.org>
   python-cssselect (U)
   python-exif (U)

Thomas Bechtold <thomasbechtold@jpberlin.de>
   pymodbus (U)
   python-odf (U)

Thomas Bechtold <toabctl@debian.org>
   flask-migrate (U)

Thomas Goirand <zigo@debian.org>
   alembic (U)
   python-concurrent.futures (U)
   python-daemonize (U)
   python-eventlet (U)
   python-gear (U)
   python-testtools (U)

Tim Retout <diocles@debian.org>
   ntplib (U)

Tristan Seligmann <mithrandi@debian.org>
   mistune (U)

W. Martin Borgert <debacle@debian.org>
   pymodbus (U)
   pysolar (U)
   python-cssselect (U)
   python-diaspy (U)
   python-exif (U)
   python-ghost (U)
   python-mpld3 (U)
   python-mplexporter (U)
   python-odf (U)
   python-odoorpc (U)
   python-oerplib (U)
   python-pypump (U)

E: Unknown package: jupyter-client
E: Unknown package: python-svg.path
E: Unknown package: twistar
E: Unknown package: path.py
E: Unknown package: python-commodity
E: Unknown package: python-sentinels
E: Unknown package: ipykernel
E: Unknown package: jupyter-core
E: Unknown package: codespeak-lib
E: Unknown package: lightblue
E: Unknown package: python-sk1libs
E: Unknown package: nbformat
E: Unknown package: pickleshare
E: Unknown package: pyuca
E: Unknown package: traitlets
E: Unknown package: django-colorful
E: Unknown package: nbconvert

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [next] | [standalone]


#7644

FromBarry Warsaw <barry@debian.org>
Date2015-10-13 16:50 +0200
Message-ID<qj93Q-18p-29@gated-at.bofh.it>
In reply to#7643
On Oct 13, 2015, at 04:30 PM, Stefano Rivera wrote:

>Many of the non-migrated git repos are a bit of a mess. I've written a
>tool that looks for common problems.
>
>It's on alioth:
>$ cd /git/python-modules
>$ ./check-repositories

Nice, thanks.

>codespeak-lib: Non-Canonical Vcs fields

I think the codespeak-lib source package is obsolete.

>python-pex: Non-Canonical Vcs fields

I guess this means that the Vcs-* headers are not of the format defined in
https://wiki.debian.org/Python/GitPackaging right?  I fixed python-pex (not
yet uploaded).

>Barry Warsaw <barry@debian.org>
>   lazr.config
>   lazr.delegates
>   lazr.smtptest
>   pycurl
>   python-cachecontrol
>   python-future (U)
>   python-iso8601 (U)
>   python-pex
>   python-pip (U)
>   python-pluggy
>   tox

Barry is a bad person.

Cheers,
-Barry, not really evil

[toc] | [prev] | [next] | [standalone]


#7645

FromSandro Tosi <morph@debian.org>
Date2015-10-13 16:50 +0200
Message-ID<qj93R-18p-43@gated-at.bofh.it>
In reply to#7643
On Tue, Oct 13, 2015 at 3:30 PM, Stefano Rivera <stefanor@debian.org> wrote:
> Many of the non-migrated git repos are a bit of a mess. I've written a
> tool that looks for common problems.

thanks! could it also emit a hint on how to address the problem? like
canonical vcs should be easy to just print also the url to stick into
the d/control file (cut&paste vs rewrite and add a typo); how to
initialize git-dpm (a link to the wiki would do if there are not more
specific docs) etc

-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

[toc] | [prev] | [next] | [standalone]


#7651

FromStefano Rivera <stefanor@debian.org>
Date2015-10-13 18:20 +0200
Message-ID<qjasV-3kA-9@gated-at.bofh.it>
In reply to#7645
Hi Sandro (2015.10.13_16:48:54_+0200)
> On Tue, Oct 13, 2015 at 3:30 PM, Stefano Rivera <stefanor@debian.org> wrote:
> > Many of the non-migrated git repos are a bit of a mess. I've written a
> > tool that looks for common problems.
> 
> thanks! could it also emit a hint on how to address the problem? like
> canonical vcs should be easy to just print also the url to stick into
> the d/control file (cut&paste vs rewrite and add a typo); how to
> initialize git-dpm (a link to the wiki would do if there are not more
> specific docs) etc

Yeah, output could be prettier.

Basically, you want the instructions on

https://wiki.debian.org/Python/GitPackaging
http://whiteboard.debian.net/dpmt-git-migration.wb

And reading the source should also be instructive. :(

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [prev] | [next] | [standalone]


#7646

FromSebastian Ramacher <sramacher@debian.org>
Date2015-10-13 17:10 +0200
Message-ID<qj9nc-1L9-21@gated-at.bofh.it>
In reply to#7643

[Multipart message — attachments visible in raw view] — view raw

On 2015-10-13 16:30:53, Stefano Rivera wrote:
> codespeak-lib: Non-Canonical Vcs fields

codespeak-lib is no longer in the archive.

> Sebastian Ramacher <sramacher@debian.org>
>    breathe
>    flask-openid
>    python-libdiscid (U)

They are no longer maintained under the DPMT umbrella.

Cheers
-- 
Sebastian Ramacher

[toc] | [prev] | [next] | [standalone]


#7647

FromStefano Rivera <stefanor@debian.org>
Date2015-10-13 17:20 +0200
Message-ID<qj9wR-1Xv-7@gated-at.bofh.it>
In reply to#7646
Hi Sebastian (2015.10.13_16:57:03_+0200)
> codespeak-lib is no longer in the archive.
> >    breathe
> >    flask-openid
> >    python-libdiscid (U)
> They are no longer maintained under the DPMT umbrella.

Deleted them all, thanks.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [prev] | [next] | [standalone]


#7648

FromStefano Rivera <stefanor@debian.org>
Date2015-10-13 18:00 +0200
Message-ID<qja9z-2J3-1@gated-at.bofh.it>
In reply to#7643
Hi Daniel (2015.10.13_17:47:01_+0200)
> In all packages, Vcs points to
> Vcs-Git: git://anonscm.debian.org/python-modules/packages/<package>.git
> Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/<package>.git

The linter script wants https for Vcs-Browser.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [prev] | [next] | [standalone]


#7650

FromDaniel Stender <debian@danielstender.com>
Date2015-10-13 18:10 +0200
Message-ID<qjajf-39m-11@gated-at.bofh.it>
In reply to#7648
On 13.10.2015 17:57, Stefano Rivera wrote:
> Hi Daniel (2015.10.13_17:47:01_+0200)
>> In all packages, Vcs points to
>> Vcs-Git: git://anonscm.debian.org/python-modules/packages/<package>.git
>> Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/<package>.git
> 
> The linter script wants https for Vcs-Browser.
> 
> SR

Ah, o.k.! :-)

I'll fix this, too.

Thanks,
Daniel

-- 
4096R/DF5182C8
46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8
LPI certified Linux admin (LPI000329859 64mz6f7kt4)
http://www.danielstender.com/blog/

[toc] | [prev] | [next] | [standalone]


#7649

FromDaniel Stender <debian@danielstender.com>
Date2015-10-13 18:00 +0200
Message-ID<qja9z-2J3-3@gated-at.bofh.it>
In reply to#7643
On 13.10.2015 16:30, Stefano Rivera wrote:
> Daniel Stender <debian@danielstender.com>
>    deap
>    gamera
>    greekocr4gamera
>    ocr4gamera
>    pep8-naming
>    pylint-celery
>    pylint-common
>    pytest-catchlog
>    pytest-localserver
>    pytest-tornado
>    python-djvulibre
>    python-requirements-detector
>    python-setoptconf
>    python-subprocess32
>    python-xmp-toolkit
>    vcr.py

All of these packages were in /git/python-modules/packages/ already before the migration,
a couple have been migrated manually from SVN to Git some months before, for the other
part (new packages) the packaging have been started already on/in Git.

I've now restored the repos like suggested in the GitPackaging wiki page (Post-migration
clean up), and there are all going to be configured for git-dpm patching in the course of
the next days.

In all packages, Vcs points to
Vcs-Git: git://anonscm.debian.org/python-modules/packages/<package>.git
Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/<package>.git

Best,
DS

-- 
4096R/DF5182C8
46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8
LPI certified Linux admin (LPI000329859 64mz6f7kt4)
http://www.danielstender.com/blog/

[toc] | [prev] | [next] | [standalone]


#7652

FromBrian May <brian@microcomaustralia.com.au>
Date2015-10-13 22:10 +0200
Message-ID<qje3x-cv-39@gated-at.bofh.it>
In reply to#7643

[Multipart message — attachments visible in raw view] — view raw

On Wed, 14 Oct 2015 at 01:31 Stefano Rivera <stefanor@debian.org> wrote:

> python-django: No control file
> python-django: Not git-dpmmed
>

Suspect it might be getting confused with the different branch names used
here. At least there was a control file when I looked last :-)

[toc] | [prev] | [next] | [standalone]


#7654

FromStefano Rivera <stefanor@debian.org>
Date2015-10-13 22:50 +0200
Message-ID<qjeGe-Xw-27@gated-at.bofh.it>
In reply to#7652
Hi Brian (2015.10.13_22:01:19_+0200)
> > python-django: No control file
> > python-django: Not git-dpmmed
> >
> 
> Suspect it might be getting confused with the different branch names used
> here. At least there was a control file when I looked last :-)

Yeah, I was expecting that.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web