~cnx/ipwhl-utils

Floating cheeses utilities
Fix accidental candidate fallback
Normalize project name when check for dependencies
Normalize project name when publish to IPFS

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~cnx/ipwhl-utils
read/write
git@git.sr.ht:~cnx/ipwhl-utils

You can also use your local clone with git send-email.

#Floating cheeses utilities

#Prerequisites

The utilities depend on two Python libraries, packaging and toml. Whilst the CI for the metadata installs these from IPWHL, one should obtain them via the most convenient and maintainable way for local development.

#Usage

#Generators

prefix.py [PROJECT]...                  # calculate path prefix for projects
declgen.py SRC DEST                     # generate declaration from wheel URL
publish.py SRC DEST                     # publish to IPFS MFS

#Checkers

nameck.py DIR                           # check declaration files organization
declck.py < path-to-declarations        # check declarations' content
depsck.py DIR < supported-platforms     # check dependencies satisfaction

#Shared libraries

The following modules are not packaged intentionally as the API is internal and can change without notice:

  • deps.py: wrappers around packaging requirements and specifiers
  • misc.py: miscellaneous helpers
  • tags.py: high-level handling of wheel tags

#Contributing

Patches must pass the checks run by tox and should be sent to ~cnx/ipwhl-devel@lists.sr.ht using git send-email, with the following configurations:

git config sendemail.to '~cnx/ipwhl-devel@lists.sr.ht'
git config format.subjectPrefix 'PATCH ipwhl-utils'

#Copying

AGPLv3

These programs are free software: you can redistribute them and/or modify them under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.