Skip to content
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

Add automatic mode to TEMPest #15

Closed
1 task done
ChacaS0 opened this issue Feb 23, 2018 · 3 comments
Closed
1 task done

Add automatic mode to TEMPest #15

ChacaS0 opened this issue Feb 23, 2018 · 3 comments
Assignees
Labels
beta Stuff for/from the beta enhancement Improvement of existing feature linux linux related stuff note containing or being a note suggestion proposal for a new functionality or whatever update this alone can decide of an update windows windows related stuff
Milestone

Comments

@ChacaS0
Copy link
Owner

ChacaS0 commented Feb 23, 2018

Presentation

Maybe by running tempest init, set an "automatic mode" "on" and stored in .tempest.yaml.

Thus, it would be possible to set it "on" or "off" with a flag from the command tempest set

"Automatic mode"

By automatic mode I mean that TEMPest would be run automatically, at start up for example.

TODOs

  • deactivate default test mode on the automode
@ChacaS0 ChacaS0 added enhancement Improvement of existing feature beta Stuff for/from the beta update this alone can decide of an update linux linux related stuff suggestion proposal for a new functionality or whatever labels Feb 23, 2018
@ChacaS0
Copy link
Owner Author

ChacaS0 commented Feb 23, 2018

@ChacaS0 ChacaS0 added the windows windows related stuff label Feb 23, 2018
@ChacaS0
Copy link
Owner Author

ChacaS0 commented Feb 24, 2018

Suggestion

It would be nice to create "logs" of what gets deleted, so when TEMPest gets called with a tags like tempest start --shutup it would have no regular output but logs would get written to this log file

Go furtther

This log file could be handled by TEMPest but needs for #17 to be done first

@ChacaS0 ChacaS0 added this to the v0.2B milestone Apr 1, 2018
@ChacaS0 ChacaS0 added the note containing or being a note label Apr 1, 2018
@ChacaS0
Copy link
Owner Author

ChacaS0 commented Apr 1, 2018

~/.config/autostart
🔌 Add flag for get: tempest get logs (all logs)

ChacaS0 added a commit that referenced this issue Apr 4, 2018
	[+] Added .sh for auto-mode
	--> Issues related: #24, #15
ChacaS0 added a commit that referenced this issue Apr 4, 2018
ChacaS0 added a commit that referenced this issue Apr 4, 2018
	[+] Added the corresponding test
	--> Issues related: #15, #16
@ChacaS0 ChacaS0 self-assigned this Apr 5, 2018
ChacaS0 added a commit that referenced this issue Apr 7, 2018
	--> Issues related: #15, #16
	[*] Should be the end of the Linux part for this one
@ChacaS0 ChacaS0 mentioned this issue Apr 7, 2018
5 tasks
@ChacaS0 ChacaS0 closed this as completed Apr 7, 2018
@ChacaS0 ChacaS0 reopened this Apr 7, 2018
ChacaS0 added a commit that referenced this issue Apr 7, 2018
	[#] Issues related: #15, #9
	[T] Unit tests for set.go:setAutoStart()
	[T] Runtime testing for Windows
ChacaS0 added a commit that referenced this issue Apr 8, 2018
	[I] #15, #16
	[T] More elaborated tests for setAutoStart()
	[#] Fixes #15
ChacaS0 added a commit that referenced this issue Apr 8, 2018
* 🚧 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
@ChacaS0 ChacaS0 closed this as completed Apr 8, 2018
ChacaS0 added a commit that referenced this issue Apr 9, 2018
	[+] Also implemented test func for it
	[#] Issues: #15, #16
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
Labels
beta Stuff for/from the beta enhancement Improvement of existing feature linux linux related stuff note containing or being a note suggestion proposal for a new functionality or whatever update this alone can decide of an update windows windows related stuff
Projects
None yet
Development

No branches or pull requests

1 participant