-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve rm
command
#21
Labels
Milestone
Comments
ChacaS0
added
enhancement
Improvement of existing feature
todo
when it needs to be done
beta
Stuff for/from the beta
doc
Operation on documentation
test
stuff to do about testing (unit tests, live tests, etc)
labels
Mar 14, 2018
ChacaS0
added a commit
that referenced
this issue
Mar 25, 2018
Issues related: -> #21 Improve ``rm`` command On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go
🐛❗ After 856d8d8, using |
TODO: doc stuff |
ChacaS0
added a commit
that referenced
this issue
Mar 30, 2018
Issues related: -> #21 On branch gh-pages Your branch is up to date with 'origin/gh-pages'. Changes to be committed: modified: _includes/wallet/rm.md
ChacaS0
added a commit
that referenced
this issue
Mar 31, 2018
-> Tests, were adapted for that Issues related: -> #21 On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go modified: cmd/rm_test.go
ChacaS0
added a commit
that referenced
this issue
Mar 31, 2018
* ✔️ Mispells fixes On branch devel Changes to be committed: modified: cmd/init_test.go modified: cmd/list.go modified: cmd/list_test.go modified: cmd/rm_test.go modified: cmd/start_test.go * 🚧 Work on rework of rm command starts -- bad Issues related: -> #21 Improve ``rm`` command On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go * 💊 Fixed missspelling On branch dev-enhancement-rm Changes to be committed: modified: cmd/init_test.go modified: cmd/list.go modified: cmd/rm.go modified: cmd/rm_test.go * ✔️🏁 processArgsRm added + tests Issues related: -> #21 -> #16 -> #9 On branch dev-enhancement-rm Changes to be committed: modified: cmd/init_test.go modified: cmd/rm.go modified: cmd/rm_test.go * ✔️🏁 New feature for rm -> Added & adapted tests only for the ones impacted by those changes Issues related: -> #21 -> #16 On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go modified: cmd/rm_test.go modified: cmd/root.go * 💻🏁 Added test for rm.go:simpleDelAllString() -> Few changes (variadic params instead of slice) -> Some update for the ``$HOME`` on Windows Issues related: -> #21 -> #16 -> #9 On branch dev-enhancement-rm Changes to be committed: modified: cmd/purge.go modified: cmd/rm.go modified: cmd/rm_test.go modified: cmd/root.go * ✔️🏁 Added handler for ``*`` wildcard as argument -> Tests, were adapted for that Issues related: -> #21 On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go modified: cmd/rm_test.go * 📝 Update of usage for ``rm`` and deletion of deprecated stuff Issues related: -> #21 -> #19 On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go
Merged
ChacaS0
added a commit
that referenced
this issue
May 1, 2018
* ✔️ Mispells fixes * Improvement of the ``rm`` command (#21) (#25) * ✔️ Mispells fixes * 🚧 Work on rework of rm command starts -- bad * 💊 Fixed missspelling * ✔️🏁 processArgsRm added + tests * ✔️🏁 New feature for rm -> Added & adapted tests only for the ones impacted by those changes * 💻🏁 Added test for rm.go:simpleDelAllString() -> Few changes (variadic params instead of slice) -> Some update for the ``$HOME`` on Windows * ✔️🏁 Added handler for ``*`` wildcard as argument -> Tests, were adapted for that * 📝 Update of usage for ``rm`` and deletion of deprecated stuff * Implementation of ``tempest list --fix`` flag (#27) * 🚧 Added the functionality, now needs the tests * 🏁 Tests for list.go (``--fix`` flag related) + Begin of migration to the use of Target instead of simple strings ----------------------- Merge Fixes #20 * 🔨 Auto mode for TEMPest (#28) * 🚧 Moved configs files for TEMpest into a directory [+] Added .sh for auto-mode --> Issues related: #24, #15 * Handler for shutup mode made, need merge * Stash pop * 🏁 Added tests for shutup mode handler (start.go) -> Issues related: #15, #16 * ✔️🏁 Added logs flag for get command [+] Added the corresponding test --> Issues related: #15, #16 * ✔️ Added handler for relative paths with ``add`` * 🏁 Added tests for treatRelativePath() * 🏁 Test for getAllLogs() (--logs) --> Issues related: #15, #16 [*] Should be the end of the Linux part for this one * 💻 Windows autostart kinda done for theoric part [#] Issues related: #15, #9 [T] Unit tests for set.go:setAutoStart() [T] Runtime testing for Windows * 📛 Hot fix for codecov chmod * 🏁 Test only for error checks [I] #15, #16 [T] More elaborated tests for setAutoStart() [#] Fixes #15 * ➕ New flag for get (auto-mode) [+] Also implemented test func for it [#] Issues: #15, #16 * 📝 Update of README.md * ⬆️ dep ensure * Manage temp files (#30) * 🚧 Started to refractor purge to purge files [T] Keep refratoring each functions affected [#] Issues: #17 [N] Some comments were deleted (cobra related) * New func to display size + units * 📄🚽 Implemented the file purging [T] Tests [#] #30, #17 * 🏁 Tests for purge 👉 Apply TreatLastChar() to conf.Gobin & conf.Gopath
ChacaS0
added a commit
that referenced
this issue
Jun 8, 2018
* ✔️ Mispells fixes On branch devel Changes to be committed: modified: cmd/init_test.go modified: cmd/list.go modified: cmd/list_test.go modified: cmd/rm_test.go modified: cmd/start_test.go * Improvement of the ``rm`` command (#21) (#25) * ✔️ Mispells fixes On branch devel Changes to be committed: modified: cmd/init_test.go modified: cmd/list.go modified: cmd/list_test.go modified: cmd/rm_test.go modified: cmd/start_test.go * 🚧 Work on rework of rm command starts -- bad Issues related: -> #21 Improve ``rm`` command On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go * 💊 Fixed missspelling On branch dev-enhancement-rm Changes to be committed: modified: cmd/init_test.go modified: cmd/list.go modified: cmd/rm.go modified: cmd/rm_test.go * ✔️🏁 processArgsRm added + tests Issues related: -> #21 -> #16 -> #9 On branch dev-enhancement-rm Changes to be committed: modified: cmd/init_test.go modified: cmd/rm.go modified: cmd/rm_test.go * ✔️🏁 New feature for rm -> Added & adapted tests only for the ones impacted by those changes Issues related: -> #21 -> #16 On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go modified: cmd/rm_test.go modified: cmd/root.go * 💻🏁 Added test for rm.go:simpleDelAllString() -> Few changes (variadic params instead of slice) -> Some update for the ``$HOME`` on Windows Issues related: -> #21 -> #16 -> #9 On branch dev-enhancement-rm Changes to be committed: modified: cmd/purge.go modified: cmd/rm.go modified: cmd/rm_test.go modified: cmd/root.go * ✔️🏁 Added handler for ``*`` wildcard as argument -> Tests, were adapted for that Issues related: -> #21 On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go modified: cmd/rm_test.go * 📝 Update of usage for ``rm`` and deletion of deprecated stuff Issues related: -> #21 -> #19 On branch dev-enhancement-rm Changes to be committed: modified: cmd/rm.go * Implementation of ``tempest list --fix`` flag (#27) * 🚧 Added the functionality, now needs the tests Issues related: -> #20 * 🏁 Tests for list.go (``--fix`` flag related) + Begin of migration to the use of Target instead of simple strings Issues related: -> #20 ----------------------- Merge Fixes #20 * 🔨 Auto mode for TEMPest (#28) * 🚧 Moved configs files for TEMpest into a directory [+] Added .sh for auto-mode --> Issues related: #24, #15 * Handler for shutup mode made, need merge * Stash pop * 🏁 Added tests for shutup mode handler (start.go) -> Issues related: #15, #16 * ✔️🏁 Added logs flag for get command [+] Added the corresponding test --> Issues related: #15, #16 * ✔️ Added handler for relative paths with ``add`` * 🏁 Added tests for treatRelativePath() * 🏁 Test for getAllLogs() (--logs) --> Issues related: #15, #16 [*] Should be the end of the Linux part for this one * 💻 Windows autostart kinda done for theoric part [#] Issues related: #15, #9 [T] Unit tests for set.go:setAutoStart() [T] Runtime testing for Windows * 📛 Hot fix for codecov chmod * 🏁 Test only for error checks [I] #15, #16 [T] More elaborated tests for setAutoStart() [#] Fixes #15 * ➕ New flag for get (auto-mode) [+] Also implemented test func for it [#] Issues: #15, #16 * 📝 Update of README.md * ⬆️ dep ensure * Manage temp files (#30) * 🚧 Started to refractor purge to purge files [T] Keep refratoring each functions affected [#] Issues: #17 [N] Some comments were deleted (cobra related) * New func to display size + units * 📄🚽 Implemented the file purging [T] Tests [#] #30, #17 * 🏁 Tests for purge 👉 Apply TreatLastChar() to conf.Gobin & conf.Gopath * Targets automation (#34) * ✔️ Func to find dirs from exact pattern added * ✔️ Flag on ``add`` command added 🏁 Test for the research func [T] Test the other funcs created * ✔️ Better error handling for that 👉 TODO? More interaction for this command/flag * ✔️ command ``new`` implemented to generated new target dirs 🏁 Tests passed * Added fallback to cmd.Help() by default * ✔️ add * ✔️ init * ✔️ new ✅ fix init * ✔️ purge * ✔️ rm * ✔️ root * ✔️ set * ✔️ start 👉 the rest can wait :( * 👍 Small update to README.md * messing * Update documentation (#37) * Added fallback to cmd.Help() by default * ✔️ add * ✔️ init * ✔️ new ✅ fix init * ✔️ purge * ✔️ rm * ✔️ root * ✔️ set * ✔️ start 👉 the rest can wait :( * 👍 Small update to README.md * messing * small fix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In short
The
tempest rm
is a nice command but not so convenient to use. It just needs some enhancement.Examples
We should be able to remove targets from the TEMPest list with a command like
tempest rm -i 0-2
ortempest rm -i 0 3
ortempest -p /path1 /path2
In depth
So the
0-2
would remove all targets from 0 to 2 from TEMPest list.0 3
would remove targets with index0
and3
.Should be able to do the same with the full path name.
In addition
Update and/or create documentation about that
➕ Use this opportunity to finish the
--origin
flag 😜TODOs
rm
tutorial (gh-pages
)--origin
The text was updated successfully, but these errors were encountered: