GithubHelp home page GithubHelp logo

gridhead / mdapi Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 5.0 769 KB

A simple and fast API for serving the metadata from the RPM repositories. This repository has now been archived by the owner and moved to https://github.com/fedora-infra/mdapi/tree/develop.

Home Page: https://github.com/fedora-infra/mdapi/tree/develop

License: GNU General Public License v3.0

Python 91.47% HTML 7.84% Dockerfile 0.51% Shell 0.18%
centos fedora hacktoberfest metadata python repositories rpm

mdapi's People

Contributors

ank-22 avatar bstinsonmhk avatar cverna avatar dependabot[bot] avatar gridhead avatar ignatenkobrain avatar lmacken avatar puiterwijk avatar pypingou avatar qulogic avatar ralphbean avatar ryanlerch avatar tyll avatar vividhpandey003 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

mdapi's Issues

Add software licensing

Add software licensing

"GPL-3.0-or-later" is compatible with a "GPL-2.0-or-later" code, so front porting the license seems like the right choice here.

Investigate the skipping of the testcases involving downloading the database files

After the reworking of the GitHub Actions config (here), the tests which involve downloading the database files get skipped (as evidenced here).

This is strange and inconsistent, as all occurrences of the tests involving downloading the database files used to work except the first one per job used in the previous test configuration (here). For example,

  1. In this job on Python 3.8 (here), the first (and the only) occurrence (using Python 3.8) of the testcase involving downloading the database files gets skipped (as evidenced here).
  2. In this job on Python 3.9 (here), the first occurrence (using Python 3.8) gets skipped (as evidenced here) but the second occurrence (using Python 3.9) works (as evidenced here).
  3. In this job on Python 3.10 (here), the first occurrence (using Python 3.8) gets skipped (as evidenced here) but the second occurrence (using Python 3.10) works (as evidenced here).

Dependency lockfile needs investigation

Many automated dependency updates from https://github.com/dependabot are failing and certain versions of certain dependencies are either not available or are not compatible with other dependencies.

Pull requests affected by this

  1. #78
  2. #79
  3. #80

For now, the workaround employed is ignoring those PRs for now and coming back to them when new PRs for the same dependencies are created for the newer versions. If they pass the CI, the problem would automatically be solved but if not, the dependency lockfile needs to be investigated.

Add more testcases for the CLI parser

Tests that result in expected errors and tests that involve going through the configuration files are needed. If folks want to add more tests atop them, that would be even better.

Add code of conduct

In the spirit of getting more contributors to the project, the above document would be appreciated.

Add `setuptools` as a dependency for the project

@Zlopez reported that when he ran mdapi --version command, he faced the following error.

   Traceback (most recent call last):
    File "/var/home/zlopez/git/mdapi/venv/bin/mdapi", line 2, in <module>
      from mdapi.main import main
    File "/var/home/zlopez/git/mdapi/mdapi/main.py", line 30, in <module>
      from mdapi.database.main import index_repositories
    File "/var/home/zlopez/git/mdapi/mdapi/database/main.py", line 36, in <module>
      from fedora_messaging.api import publish
    File "/var/home/zlopez/git/mdapi/venv/lib/python3.10/site-packages/fedora_messaging/api.py", line 10, in <module>
      from . import config, exceptions
    File "/var/home/zlopez/git/mdapi/venv/lib/python3.10/site-packages/fedora_messaging/config.py", line 287, in <module>
      import pkg_resources
  ModuleNotFoundError: No module named 'pkg_resources'

This usually happens when setuptools dependency is not installed or present in the project and hence, it necessitates its addition in the dependency list.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.