Commit Graph

24 Commits (master)

Author SHA1 Message Date
Denis Knauf 98a245296e MULTIARCH 2015-10-01 21:52:37 +02:00
Denis Knauf b1ca5f029e configs: decide later (ignore this file for this session) 2015-02-16 13:31:00 +01:00
Denis Knauf 1f874aaf69 truckle: clean up 2015-01-14 00:12:13 +01:00
Denis Knauf 193c69b5e7 cave configs: auto-action, tab-completion, history
* --auto-action for automatic actions for files,
  defined by /etc/paludis/configs_auto_action.
* Readline for tab-completion and history support.
2015-01-14 00:05:48 +01:00
Denis Knauf 522f100ce2 commands: do, retry, upgrade: if $CAVE unknown, use cave 2015-01-14 00:03:28 +01:00
Denis Knauf f1dee5d970 cave config does exist, so cave_commands/config was a bad idea. renamed to configs. 2014-04-06 15:45:40 +02:00
Denis Knauf f71b587c9c print-package-path: Prints path to packages. config: like eclectic config interactive. delete-unused-distfiles: it deletes distfiles of not installed packages. 2014-03-22 13:45:51 +01:00
Denis Knauf 82b710bf88 truckle: resume-file-support removed. exported via process-environment `/etc/profile.d/cave.sh` 2014-03-21 13:40:31 +01:00
Denis Knauf 3782f838eb Logic moved from truckle to cave.
truckle commands to cave added: `cave do`, `cave retry`, `cave upgrade`
You do not need truckle upgrade, now sudo cave upgrade works, too.
These commands do not depend on truckle, it works fine with cave-only.

Environment variables added via `/etc/profile.d/cave.sh`.
At the moment only resume-file-depended variables
(TRUCKLE_RESUME_FILE, CAVE_RESUME_OPTIONS, CAVE_RESOLVE_OPTIONS, ...)
If you use cave, the resume-file will be used automaticaly.
You do not need truckle anymore to have auto-resume-files.
But sudo will remove these from env...

Sudoers-config for cave added via `/etc/sudoers.d/cave`.
sudo will keep the same variables like defined in `/etc/profile.d/cave.sh`.
I do not know, but i think it can be a security hole.
But never allow users to use cave as root!
So, now you can use sudo, too.

These combinations of new cave-related changes will allow this:

  sudo cave upgrade
  sudo cave do
  # something went wrong?
  sudo cave retry

Only pagered it is easier with truckle:

  sudo cave -cy upgrade | less -R
  # vs.
  truckle upgrade
2013-07-10 13:37:23 +02:00
Denis Knauf 3828c4a740 print-unused-distfiles: sudo_pagered. 2013-04-24 21:55:51 +02:00
Denis Knauf 832a3789ca retry: --retry-skipped too 2013-02-18 14:56:08 +01:00
Denis Knauf e1513810e2 tretry added. less-tries. 2013-02-17 14:58:58 +01:00
Denis Knauf 989deed03b if loading irb-pager files, print, that it must be installed. 2013-02-16 19:24:25 +01:00
Denis Knauf 77dec1b180 TRUCKLE_RESUME_FILE added. --tag has higher prior than --resume-file. retry (resume --retry-failed) added. 2013-02-16 19:16:43 +01:00
Denis Knauf b116a14252 Opts removed. tidy up 2013-02-16 16:33:14 +01:00
Denis Knauf 8a3ed682e9 AUTHORS added 2013-02-16 16:30:31 +01:00
Denis Knauf a343865160 Makefile: create dirs 2013-02-16 16:15:09 +01:00
Denis Knauf 387985b091 LICENSE added 2013-02-16 16:12:48 +01:00
Denis Knauf 0361711e9a -- 2013-02-16 15:47:40 +01:00
Denis Knauf f14ed5960c spaces to tabs 2013-02-16 15:44:15 +01:00
Denis Knauf a479b980e0 GetoptLong: ARGV must be used, no @argv possible. :/ 2013-02-16 15:39:57 +01:00
Denis Knauf 4452a3cf61 truckle: Truckle, Shortcuts as classes 2013-02-15 21:33:55 +01:00
Denis Knauf 47e55d8cb8 colored truckle help. .gitignore vim temp files. Makefile added. 2013-02-06 13:50:11 +01:00
Denis Knauf 12940cd521 truckle in cave 2013-02-06 11:53:08 +01:00