Coder Social home page Coder Social logo

solsticedhiver / pkgtools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daenyth/pkgtools

2.0 2.0 1.0 1.29 MB

A collection of scripts for archlinux packages with rewrite in python of pkgfile

Home Page: http://aur.archlinux.org/packages.php?ID=17941

License: GNU General Public License v2.0

Perl 3.98% Shell 7.54% Python 35.63% C 52.85%

pkgtools's People

Contributors

brain0 avatar bram85 avatar daenyth avatar eagletmt avatar falconindy avatar mineo avatar solsticedhiver avatar tuxce avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

pkgtools's Issues

pkgfile.py doesn't handle bashisms in pkgfile.conf

This is to be expected, but we should at least try to cover $HOME in case people use it. The other option is to just say that old config files are now invalid and provide new ones.

This doesn't necessarily need to be fixed.

py-sqlite!pkgtools/scripts *> ./pkgfile.py -u
Warning: ${HOME}/.config/pkgtools/lists does not exist. Creating it.
Error: Can't create ${HOME}/.config/pkgtools/lists directory

404 http error must be taken care of

when there is no file found on the server repo, pkgfile.py tries to open a broken local files list (most of the time an html 404 page).

TODO: Take care of 404 errors to avoid that

pkgfile.py -u fails with custom lists dir

py-sqlite!pkgtools/scripts *> ./pkgfile.py -u
Warning: /home/Daenyth/.config/pkgtools/lists does not exist. Creating it.
:: Checking [core] for files list ...
Traceback (most recent call last):
  File "./pkgfile.py", line 455, in <module>
    main()
  File "./pkgfile.py", line 435, in main
    update_repo(options)
  File "./pkgfile.py", line 200, in update_repo
    remote_mtime = time.mktime(conn.info().getdate('last-modified'))
TypeError: argument must be 9-item sequence, not None

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.