Skip to content

Added Support for Debian Packages. - #89

Draft
35C4n0r wants to merge 8 commits into
aboutcode-org:masterfrom
35C4n0r:DebianPackages
Draft

35C4n0r wants to merge 8 commits into
aboutcode-org:masterfrom
35C4n0r:DebianPackages

Conversation

@35C4n0r

@35C4n0r 35C4n0r commented Jan 10, 2023 •

Copy link
Copy Markdown

Added package registry support for Debian. Closes #49

Changes:

  1. src/fetchcode/init.py: The Response Class has a new success parameter, which will be true if and only if the status code is 200, false otherwise.
  2. src/fetchcode/ls.py: New file picked from minecode https://github.com/nexB/purldb/blob/main/minecode/ls.py, helps with parsing ls-lR data.
  3. src/fetchcode/package.py: Few functions have been moved to src/fetchcode/utils.py. Added support for Debian Packages.
  4. Added new tests.

Signed-off-by: Jay jaykumar20march@gmail.com

Signed-off-by: Jay <jaykumar20march@gmail.com>
@AyanSinhaMahapatra

Copy link
Copy Markdown
Member

@35C4n0r I think you have to add it to https://github.com/nexB/fetchcode/blob/master/setup.cfg#L53 if you're importing it, this is what's used when installing. Requirements is only used for constraints https://github.com/nexB/fetchcode/blob/master/configure#L31

and requirements.txt.

Signed-off-by: Jay <jaykumar20march@gmail.com>
Signed-off-by: Jay <jaykumar20march@gmail.com>
Signed-off-by: Jay <jaykumar20march@gmail.com>
…e identified as they can end with either .gz or .xz.

Signed-off-by: Jay <jaykumar20march@gmail.com>
Signed-off-by: Jay <jaykumar20march@gmail.com>
Signed-off-by: Jay <jaykumar20march@gmail.com>
Signed-off-by: Jay <jaykumar20march@gmail.com>
@35C4n0r

35C4n0r commented Jan 25, 2023 •

Copy link
Copy Markdown
Author

@AyanSinhaMahapatra any idea why the checks are not running for 33e78dc ?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants