prt-get: clean up TODO
git-svn-id: https://crux.nu/svn/tools/prt-get/trunk@1837 0b5ae1c7-2405-0410-a7fc-ba219f786e1e
This commit is contained in:
parent
ea9b462d98
commit
92ca1807ff
117
TODO
117
TODO
@ -1,66 +1,38 @@
|
|||||||
- add --rebuild-set to dependent
|
- add --rebuild-set to dependent
|
||||||
---------------------------
|
|
||||||
- use `eval $(fgrep -h 'PKGMK_PACKAGE_DIR=' $(which pkgmk) /etc/pkgmk.conf) && echo
|
- use `eval $(fgrep -h 'PKGMK_PACKAGE_DIR=' $(which pkgmk) /etc/pkgmk.conf) && echo
|
||||||
$PKGMK_PACKAGE_DIR` to determine PACKAGE_DIR
|
$PKGMK_PACKAGE_DIR` to determine PACKAGE_DIR
|
||||||
- add update-footprint, update-md5sum commands (patch in trac)
|
|
||||||
- allow dependency injection for sysup, with previews
|
- allow dependency injection for sysup, with previews
|
||||||
- prefer toolchain (patch in trac)
|
- prefer toolchain (patch in trac)
|
||||||
- logging: check for non-root owned symlinks
|
- logging: check for non-root owned symlinks
|
||||||
- logging: reject relative logfile names
|
- logging: reject relative logfile names
|
||||||
|
- parallel build and upload
|
||||||
|
- download command
|
||||||
|
- rewrite arg parser
|
||||||
|
|
||||||
==============================================================================
|
CONSIDER:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- add support to "prefer higher" for certain packages ?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
next release:
|
|
||||||
- configuration override/extend
|
|
||||||
[20:01] <cptn> --config-add="prtdir /tmp" even
|
|
||||||
[20:01] <cptn> --config-set="logfile /tmp/%n.log"
|
|
||||||
[20:14] <cptn> prt-get --config-set="prtdir /tmp" \
|
|
||||||
--config-add="prtdir /usr"
|
|
||||||
[20:14] <cptn> the 'set' would delete the config file's prtdir settings
|
|
||||||
|
|
||||||
Don't bail out if no prt-get.conf is found if the user specified
|
|
||||||
--config-* options
|
|
||||||
|
|
||||||
enum KindOfConfig {ADD, SET}
|
|
||||||
argparser: user addConfig(string, KindOfConfig);
|
|
||||||
config: go through additional configuration options; add and/or replace
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1.0.0
|
|
||||||
|
|
||||||
|
- default formats for printf and dup
|
||||||
|
- add update-footprint, update-md5sum commands (patch in trac)
|
||||||
- sysup
|
- sysup
|
||||||
- allow injecting of new (uninstalled) dependencies
|
- allow injecting of new (uninstalled) dependencies
|
||||||
- allow to prohibit recompilation of packages when a dependency failed
|
- allow to prohibit recompilation of packages when a dependency failed
|
||||||
to be updated in this sysup run
|
to be updated in this sysup run
|
||||||
|
- big command consolidation
|
||||||
|
|
||||||
- better reports (installed/failed/not even tried to install)
|
prt-get dep|depends [--tree|-T] [--recursive|-R] [--quick|-Q]
|
||||||
[ ] message log for prt-get messages ?
|
so
|
||||||
[ ] --quiet mode; suppress output of pkgmk and pkgadd
|
depends -> dep
|
||||||
[ ] prt-get diff stats: "100 Packages with differences"
|
current depends -> dep -R
|
||||||
|
quickdep -> dep -Q
|
||||||
|
deptree -> dep -T
|
||||||
|
|
||||||
---------------------------
|
Similar for other commands
|
||||||
|
|
||||||
later
|
|
||||||
|
|
||||||
- parallel download (mt)
|
OLD NOTES:
|
||||||
- download only
|
|
||||||
- group support
|
- --quiet mode; suppress output of pkgmk and pkgadd
|
||||||
- Actions/Commands
|
- prt-get diff stats: "100 Packages with differences"
|
||||||
- Help per command
|
|
||||||
- Dynamic command binding
|
|
||||||
- Make InstallTransaction a real install transaction:
|
- Make InstallTransaction a real install transaction:
|
||||||
- rollback pre-install if package building failed
|
- rollback pre-install if package building failed
|
||||||
- needs heavy refactoring to be easier to understand/maintain
|
- needs heavy refactoring to be easier to understand/maintain
|
||||||
@ -75,48 +47,13 @@ later
|
|||||||
_lots_ of packages; maybe also think about forgeting not so
|
_lots_ of packages; maybe also think about forgeting not so
|
||||||
important things like packages installed before etc
|
important things like packages installed before etc
|
||||||
|
|
||||||
[ ] prt-get rm and cd
|
- interrupt handler (ctrl-c) kill pkgmk/pkgadd, delete lock files, say
|
||||||
[ ] cache file class, help class
|
|
||||||
[ ] interrupt handler (ctrl-c) kill pkgmk/pkgadd, delete lock files, say
|
|
||||||
"prt-get: action cancelled"; warn when cancel during download ->
|
"prt-get: action cancelled"; warn when cancel during download ->
|
||||||
STATE variable, separate download and build.
|
STATE variable, separate download and build.
|
||||||
[ ] lock files for log, cache (lock file class)
|
- move command name out of execTransaction (would be wrong for e.g.
|
||||||
[ ] move command name out of execTransaction (would be wrong for e.g.
|
|
||||||
sysup)
|
sysup)
|
||||||
|
|
||||||
|
- symbolic exit codes
|
||||||
SHORT TERM
|
|
||||||
------------
|
|
||||||
|
|
||||||
* Answer FAQs
|
|
||||||
|
|
||||||
* create a fileExists(), createDir() etc helper class
|
|
||||||
|
|
||||||
* questions
|
|
||||||
- should the install/update result include the version/release?
|
|
||||||
|
|
||||||
* cosmetic
|
|
||||||
- move all output messages to prtget.cpp (away from main.cpp)
|
|
||||||
- remove "using namespace std" from header file
|
|
||||||
|
|
||||||
* test
|
|
||||||
- add asserts
|
|
||||||
|
|
||||||
* functional
|
|
||||||
- check exit messages (strings). always add 'prt-get'
|
|
||||||
|
|
||||||
* refactor
|
|
||||||
- check operations in prtget.cpp for common code
|
|
||||||
- make InstallTransaction more modular (download/build/install)
|
|
||||||
|
|
||||||
LONG TERM
|
|
||||||
------------------------------
|
|
||||||
* remove quickdiff
|
|
||||||
* move find command into list --filter="..." ???
|
|
||||||
|
|
||||||
* symbolic exit codes
|
|
||||||
|
|
||||||
* new commands:
|
|
||||||
|
|
||||||
* questions:
|
* questions:
|
||||||
- should there be a install/update mixed to mode, to install and update,
|
- should there be a install/update mixed to mode, to install and update,
|
||||||
@ -126,15 +63,3 @@ LONG TERM
|
|||||||
config file again. This could be done by creating another ports
|
config file again. This could be done by creating another ports
|
||||||
directories an creation symlinks there to. Could improve performance
|
directories an creation symlinks there to. Could improve performance
|
||||||
- might people like ansi colors?
|
- might people like ansi colors?
|
||||||
|
|
||||||
* new features
|
|
||||||
- list shadow packages (dup) for arguments
|
|
||||||
|
|
||||||
* - rebuild all ports using dependency information
|
|
||||||
|
|
||||||
|
|
||||||
LONG LONG TERM
|
|
||||||
--------------
|
|
||||||
- parallel download for installing/updating multiple packages (at least
|
|
||||||
download of 2nd package while building first)
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user