Commit graph

16 commits

Author SHA1 Message Date
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