Alfred Wingate
d93c3154ac
Update GNOME_URL_SOURCE
...
* It gets redirected eitherway.
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-03 00:56:41 +02:00
Alfred Wingate
9809d9a805
Add Gitea(+ Forgejo) handler
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-03 00:56:36 +02:00
Alfred Wingate
d217c839a9
Add GitLab handler
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-02 22:13:44 +02:00
Alfred Wingate
aad99f71fe
Use JSON api for PyPi
...
* "The XML-RPC API will be deprecated in the future. Use of this API is
not recommended, and existing consumers of the API should migrate to
the RSS and/or JSON APIs instead."
* "As a result, this API has a very restrictive rate limit and it may be
necessary to pause between successive requests." As such this also
gets around this issue for euscan.
https://warehouse.pypa.io/api-reference/xml-rpc.html
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-02 16:18:34 +02:00
Alfred Wingate
9465c14342
Remove more euscanwww stragglers from TODO
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 07:12:53 +02:00
Alfred Wingate
22915bade5
Fix kde handler
...
* It appears it was broken in the midst of 8d912379
, no apparent
rationale for it being changed there.
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 07:07:11 +02:00
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
49f1fbbad1
Remove Python2'isms from classes
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 06:18:19 +02:00
Alfred Wingate
a03b420c75
Use OSError instead of alias IOError
...
https://docs.astral.sh/ruff/rules/os-error-alias/
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 06:15:48 +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
21fe4eafec
Enable pyupgrade linting
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:21:49 +02:00
Alfred Wingate
377ba2f727
N806
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:19:02 +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
764bcf9ce8
Enable PEP8 linting in ruff
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:16:25 +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
d48699e5fd
Enable all pycodestyle checks in ruff
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:02:30 +02:00
Alfred Wingate
eedf3c5939
Remove euscanwww leftovers from TODO
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 04:51:30 +02:00
Alfred Wingate
7ac854dc61
Add changelog to python metadata
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 04:43:44 +02:00
Alfred Wingate
0551629a9a
Update MANIFEST.in
...
* Missed in previous changes
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 04:39:25 +02:00
Alfred Wingate
17c4e19bc5
Filter XMLParsedAsHTMLWarnings
...
* Parsing xhtml sites would trigger it.
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 04:27:57 +02:00
Alfred Wingate
c489b404d1
Temporarily remove README.rst from METADATA
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 01:56:00 +02:00
Alfred Wingate
7b4951977b
Update changelog (at least the 1.0.1 changes)
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 01:41:53 +02:00
Alfred Wingate
86c88e8d30
Change default user-agent
...
* Better to have it be more meaningful.
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 01:14:05 +02:00
Parona
f6bdd66f5f
Merge branch 'revamp' into 'master'
...
Upgrade to PEP517 buildsystem, fix broken gentoolkit usage. Pretty up
See merge request src_prepare/euscan-ng!1
2023-11-15 22:36:44 +00:00
Alfred Wingate
3222f348d8
Use a cleaned up copy of the license
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +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
c40d65a79e
Remove man page
...
* Will look into alternatives that either most likely create a final man
page during sdist creation.
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
c6e6e25862
Add publishing capability to CI
...
* Not yet enabled automatically due to gentoolkit
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
6c90268712
.git-blame-ignore-revs: Ignore mass formatting commits
...
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
a91775919c
Add pre-commit config
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:40 +02:00
Alfred Wingate
02fd3a9e79
Add gitlab CI
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:40 +02:00
Alfred Wingate
65e77ac533
Configure linting and formatting tools
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
dfa0bb7424
Add python3.12 compatability
...
* imp and find_loader got removed in py3.12
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +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
Alfred Wingate
cc2d715b6d
Transition to PEP517 buildsystem
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
bae87b0877
Fix euscan by using portage MetadataXML over gentoolkit Metadata
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
c51d3fc70c
Remove helper scripts
...
* These scripts will be broken after PEP517 transition.
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
c873e1520d
Change source layout
...
* In preparation for PEP517 transition.
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
ec7399752c
Remove the djano webservice in its entirety
...
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:06 +02:00
Maciej Barć
962f26ae05
update setup files
...
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2021-02-26 19:04:36 +01:00
Maciej Barć
be2d26bfd9
makefile: add all target
2020-09-16 15:20:31 +02:00
Maciej Barć
184085c20d
makefile: add
2020-09-12 01:06:02 +02:00
Maciej Barć
cc992227fc
manifest: update
2020-09-12 01:04:43 +02:00
Maciej Barć
73f55dfaab
license: rename from copying
2020-09-11 21:52:34 +02:00
Maciej Barć
e99737131d
setup: split web part
2020-09-11 21:41:20 +02:00
Maciej Barć
5dc5751432
gitignore: update
2020-09-11 21:40:02 +02:00