Code Monkey home page Code Monkey logo

portingdb's Introduction

A database of packages that still need Python 2 in Fedora, and tools to manage it.

This software is a mess. It was created for one purpose and was expected to not be needed soon. Meanwhile, hacks are piling on.

Deployed report

A HTML report is located at:

https://fedora.portingdb.xyz/

Unless you want to refresh data there, or run additional reports, you can just look at that.

Installation

This software is not released. To install it, first set up a Python virtual environment with Python 3.7+. Then run directly from Git working directory:

(venv) $ pip install --editable .  # Mind the dot at the end!

Usage

To start a HTML report server, start:

(venv) $ export PYTHONPATH=.
(venv) $ python -m portingdb serve

Check drops

There is a script that checks what python2 packages can be dropped from Fedora during the Mass Python 2 Package Removal.

Change your Python virtual environment to include system side packages:

(venv) $ cat venv/pyvenv.cfg
...
include-system-site-packages = true
...

Reactivate if needed:

(venv) $ deactivate
$ . venv/bin/activate

And run it with:

(venv) $ python -m portingdb --datadir data/ check-drops

See the docstring of portingdb/check_drops.py for more info.

Freezing

A static website with the HTML repot can be build by:

(venv) $ export PYTHONPATH=.
(venv) $ python elsasite.py freeze

You can add --serve for he freeze command to immediately inspect the result.

Contribute

License

This code is under the MIT license. May it serve you well.

portingdb's People

Contributors

encukou avatar irushchyshyn avatar hroncok avatar torsava avatar abadger avatar ralphbean avatar ari3s avatar s7nfo avatar fitoria avatar williamjmorenor avatar rupe120 avatar frafra avatar dhgutteridge avatar carlwgeorge avatar rodrigc avatar fabaff avatar frenzymadness avatar synfo avatar michaeleekk avatar andrewwang43 avatar tyll avatar qulogic avatar fujimotos avatar michel-slm avatar krejdom avatar sayanchowdhury avatar pigjuliux avatar troycurtisjr avatar t8m avatar taranjeet avatar

Watchers

James Cloos avatar

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.