Giter VIP home page Giter VIP logo

genup's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

genup's Issues

Move python-updater and perl-cleaner to /etc/genup/updaters.d

Directory /etc/genup/updaters.d has been created for custom updaters. So I think python-updater and perl-cleaner commands should go (as scripts) there. It would be more consistent.

Genup is written in bash so moving these commands to the end shouldn't break anything...

genup forces aggressively parallel MAKEOPTS and ignores /etc/portage/make.conf

Between lines 71 and 82, genup tests whether certain variables including MAKEOPTS are defined in the environment and explicitly sets MAKEOPTS to -j${NUMCPUSPLUSONE} -l${NUMCPUS}. This means settings in /etc/portage/make.conf or in /etc/portage/package.env/ are ignored. This is a problem because I specifically set a less aggressive MAKEOPTS for big packages (such as chromium or any other webkit/blink package) that start swapping heavily when -j is too high.

The easiest solution would be to get rid of these lines and let the user handle MAKEOPTS and EMERGE_DEFAULT_OPTS entirely by themselves.

Allow genup to run without buildkernel installed

I'm running Gentoo within a container and using genup to keep everything up-to-date. To update I run 'genup -n' as the kernel is managed by the host system instead of this container guest. However, genup still tries to run 'buildkernel --is-new-kernel-available' which fails unless I have buildkernel installed.

Would it be possible to make this conditional so that buildkernel is not ran at all if '-n' is passed to genup?

Update python2/python3 selection during update

I noticed that after world update selection of python2/3 interpreter isn't updated. I'm talking about small version bumps like from 3.3 to 3.4. It is easy to update through command line: eselect python update --python2 and eselect python update --python3. After running emerge --depclean without this update symlink could become invalid.

For clarification: I'm not talking about global python interpreter selection (which should be untouched).

What do you think?

Thank you!

Thank you for your hard work @sakaki- on genup script! I'm using it all the time. Even if it's EOL I believie it will be useful to others for at lest few more years. I appreciate that you shared your script with the world! Thank you!

Add other package updaters/modularize

Currently, genup syncs and updates the portage tree, overlays, and packages, rebuilds modules, and then explicitly updates perl and python modules using perl-cleaner and python-updater.
Other languages/environments maintain their own updaters- haskell-updater is the one giving rise to this issue.
I'll see if I can get around to throwing together a pull request for adding a call to haskell-updater in the script, but is that the correct approach to take?
Can/should the addition of other package management tools be incorporated in a more coherent fashion?

Run kernel upgrade before 'emerge --depclean'?

First of all, thank you for making this. It makes updating Gentoo pretty simple.

The only problem I have with it is that it removes older kernel sources before upgrading to the new one causing module-rebuild to fail. I figure doing the kernel upgrade phase before doingemerge --depclean could prevent this from happening.

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.