Commit Graph

64 Commits

Author SHA1 Message Date
Alfred Wingate
443b5f62fd
Enable flake8-bugbear linting and fix raised issues
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 06:25:40 +02:00
Alfred Wingate
6c0b816e73
Use f-strings or .format() over percent style
https://docs.astral.sh/ruff/rules/printf-string-formatting/

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:56:40 +02:00
Alfred Wingate
9f7ba6c9cd
Address N818
https://peps.python.org/pep-0008/#exception-names

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:17:14 +02:00
Alfred Wingate
c0be0e0b67
Fix invalid backslash characters
* https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:10:40 +02:00
Alfred Wingate
b4749fad3e
Fix inconsistency in --version in regards to copyright headers
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
9efcd3a842
Update copyright
* Cleanup inconsistencies in the headers while at it

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
a8f35aee25
Fix issues pointed out by ruff
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:07 +02:00
Alfred Wingate
70f88ed37d
Run isort on project
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:40 +02:00
Alfred Wingate
d860708ec9
Run black on project
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:40 +02:00
Alfred Wingate
50a23b71dd
Get version from git with setuptools_scm
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Bernard Cafarelli
90464f8697
Fix brute-force short option 2020-01-06 22:19:23 +01:00
Bernard Cafarelli
94c3eeba49
Initial python3 compatibility 2019-12-05 17:46:19 +01:00
volpino
3b2f88c683 adding xml to the available formats 2013-08-26 17:08:59 +02:00
volpino
60deecd853 euscan: Adding support for disabling handlers
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:02 +01:00
Corentin Chary
9afb31fc65 euscan: fix #435118 and #435120
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-15 23:21:30 +02:00
volpino
2019b245e8 euscan: Adding config file support
Signed-off-by: volpino <fox91@anche.no>
2012-09-02 18:58:01 +02:00
volpino
519f335966 euscan: PEP8 compliant code
Signed-off-by: volpino <fox91@anche.no>
2012-08-15 15:37:55 +02:00
Corentin Chary
bbfcc3d6d5 euscan: misc fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-15 11:04:29 +02:00
volpino
952d9505b2 euscan/euscawww: Removing unused imports, fixed some typos and PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
2012-08-07 09:39:49 +02:00
Corentin Chary
8d91237988 euscan/handlers: rework handlers, better remote-id + watch support
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:50:54 +02:00
volpino
f470c4f059 euscan: performance improvements
Signed-off-by: volpino <fox91@anche.no>
2012-07-27 13:58:51 +02:00
Corentin Chary
6dce7707c8 euscan: fix some \n issues
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-26 21:31:10 +02:00
volpino
ad0c946230 euscan: patch_metadata regex fix to match bz2 sources
Signed-off-by: volpino <fox91@anche.no>
2012-07-26 15:50:30 +02:00
volpino
3ef800b68d Merge branch 'master' of https://github.com/iksaif/euscan
Conflicts:
	bin/euscan_patch_metadata
	euscanwww/djeuscan/views.py
	pym/euscan/handlers/__init__.py
	pym/euscan/handlers/kde.py
	pym/euscan/handlers/url/cpan.py
	pym/euscan/handlers/url/generic.py
	pym/euscan/handlers/url/github.py
	pym/euscan/handlers/url/php.py
	pym/euscan/handlers/url/pypi.py
	pym/euscan/handlers/url/rubygem.py
	pym/euscan/scan.py

Signed-off-by: volpino <fox91@anche.no>
2012-07-26 10:57:38 +02:00
volpino
12bf1fc75b euscan: Redesigning the handlers layout
Signed-off-by: volpino <fox91@anche.no>
2012-07-26 10:44:10 +02:00
volpino
9f164ed22c euscanwww: Removing useless stuff while creating watch tag
* Removing useless options or actions
* Fixing handling of substitution regex

Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:17 +02:00
volpino
e2890c6364 euscan: Added watch handler, fixed generic one
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:17 +02:00
volpino
67654ee0b4 euscan: Progressbar on stderr
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:16 +02:00
volpino
83cc025170 euscan: euscan_patch_metadata --diff option
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:16 +02:00
volpino
36e1aa6d12 euscan: euscan_path_metadata diff using difflib
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 13:49:47 +02:00
volpino
29101f88f8 euscanwww: Removing useless stuff while creating watch tag
* Removing useless options or actions
* Fixing handling of substitution regex

Signed-off-by: volpino <fox91@anche.no>
2012-07-25 10:19:27 +02:00
volpino
c35065e344 euscan: Added watch handler, fixed generic one
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 17:48:20 +02:00
Corentin Chary
99054971aa euscan: drop fixed version dependencies
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:37:31 +02:00
Corentin Chary
46c2ea6f70 euscan: use python-git for __version__
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:33:19 +02:00
volpino
2b09bfba8a euscan: Progressbar on stderr
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 08:10:56 +02:00
volpino
634c2db389 euscan: euscan_patch_metadata --diff option
Signed-off-by: volpino <fox91@anche.no>
2012-07-22 10:26:40 +02:00
volpino
f7340bee43 euscan: patch_metadata now handles debian diff files
Signed-off-by: volpino <fox91@anche.no>
2012-07-21 09:22:26 +02:00
volpino
0885e89cc1 euscanwww: uscan watch handle options
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 16:10:53 +02:00
Corentin Chary
bcda1a7ce3 euscan: add --ebuild-uri to use ${PV}, etc.
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 08:41:12 +02:00
volpino
339ae58445 euscan: Added first implementation of the script to scrape debian watch
Signed-off-by: volpino <fox91@anche.no>
2012-07-18 14:02:26 +02:00
volpino
58532b2136 euscan: #!/usr/bin/python -> #!/usr/bin/env python
Signed-off-by: volpino <fox91@anche.no>
2012-07-18 10:48:14 +02:00
volpino
33a06d99fb euscan: added --ignore-pre-release and --ignore-pre-release-if-stable
options

Signed-off-by: volpino <fox91@anche.no>
2012-07-17 12:27:22 +02:00
volpino
a9265ec5d1 euscan: Performance improvement moving imports
Signed-off-by: volpino <fox91@anche.no>
2012-07-10 18:14:41 +02:00
volpino
02be58024a euscanwww: Minor fixes
Signed-off-by: volpino <fox91@anche.no>
2012-07-09 18:15:34 +02:00
volpino
5a2f2e9eab Merge branch 'master' of https://github.com/iksaif/euscan 2012-07-02 17:45:31 +02:00
volpino
6407efa14f euscan: naive implementation of --mirror
Signed-off-by: volpino <fox91@anche.no>
2012-07-02 17:44:55 +02:00
Corentin Chary
84a764dad5 euscan: allow --progress with --quiet
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-02 11:20:18 +02:00
volpino
d7bf130fda euscan: minor fixes
Signed-off-by: volpino <fox91@anche.no>
2012-06-28 12:43:46 +02:00
volpino
0d6376681f euscan: fixed progressbar
added -p option, now the progressbar is "global" and shows the total
progress

Signed-off-by: volpino <fox91@anche.no>
2012-06-28 12:20:57 +02:00
volpino
b43bf8fa28 euscanwww: Removing duplicated code
Signed-off-by: volpino <fox91@anche.no>
2012-06-08 14:43:18 +02:00