Wyatt J. Miller
832a8568f4
update go workflow again
...
I threw the go's dep earlier in the workflow even though installation is already stated. we'll see how this goes
2019-10-05 20:32:03 -04:00
Wyatt J. Miller
77a9941a0e
update go workflow
...
Added lines to create a directory that was non-existent
2019-10-05 16:16:55 -04:00
Wyatt J. Miller
a3ede7c686
Update README.md
2019-10-01 23:31:06 -04:00
Wyatt J. Miller
5834e066f3
Update README.md
2019-09-29 19:29:13 -04:00
Wyatt J. Miller
aadc4f0790
deleted config.yaml
...
The configuration file is no longer needed.
2019-09-29 13:48:23 -04:00
Wyatt J. Miller
9de60652bf
modified workflow
...
Please let this work. Fingers crossed I guess...
2019-09-29 13:47:14 -04:00
Wyatt J. Miller
dbde9b3cab
Finished generate.go, modified main.go
...
I completed the process of generating the configuration file for
idiots like me who like to delete configuration files. Don't
worry, it's only by accident ;)
I also modified main.go so that the generating process actually
becomes useful.
What happens is that the program checks if the
configuration file exists (which will have to change to become
more modular as I have it set to look in the current directory
you're in) and if it doesn't, it goes ahead creates it and inputs
some random junk in there that is actually supposed to help with
your own configuration.
2019-09-29 13:38:58 -04:00
Wyatt J. Miller
df6f5b4973
Update go.yml
2019-09-28 01:11:19 -04:00
Wyatt J. Miller
c78f6aa535
made sure each file closed after stating them
2019-09-28 01:07:33 -04:00
Wyatt J. Miller
9a090ca397
Merge branch 'master' of https://github.com/wymillerlinux/logman
2019-09-28 01:02:18 -04:00
Wyatt J. Miller
e231769f84
vendor is not needed
2019-09-28 01:01:20 -04:00
Wyatt J. Miller
ec95aba8d2
added workflow
...
I'm trying out GitHub Actions. Let's see how it goes.
2019-09-28 00:56:45 -04:00
Wyatt J. Miller
6d7d83a6ff
Create LICENSE
2019-09-28 00:53:07 -04:00
Wyatt J. Miller
2cbbc2940d
Create README.md
2019-09-28 00:51:50 -04:00
Wyatt J. Miller
11f3648401
Create config.yaml
...
This is just a template
2019-09-28 00:42:09 -04:00
Wyatt J. Miller
103108cdac
Update todo.md
2019-09-28 00:39:54 -04:00
Wyatt J. Miller
dfbcce84ae
adding multiple logs is now live
...
Now, you can add multiple logs within the configuration file,
which is really cool, if you need multiple logs off of machines
in one go round. Please note that you'll have to enter absolute
paths for each log to get transferred.
2019-09-28 00:32:20 -04:00
Wyatt J. Miller
3871351ace
mandatory commit
2019-09-26 20:23:36 -04:00
Wyatt J. Miller
5afa2c0f9a
added an env variable
...
Added an environment variable for the home directory so we don't
have to hardcode it or enter it inside a config file
2019-09-26 00:24:15 -04:00
Wyatt J. Miller
e766f580bb
added generate.go, added todo
...
Added generate.go out of habit for idiots like me who delete config
files like it's no big deal. Also added a markdown file called todo,
name is self-explanatory as it helps me remember stuff that I need
to do and as well helps contributors figure what needs to happen
2019-09-25 23:17:38 -04:00
Wyatt J. Miller
854270f99c
Merge branch '9683e88' of wymiller/logman into master
2019-08-20 01:50:20 +00:00
Wyatt J. Miller
9683e88464
i got logs! in a gzip file!
...
more to come later
2019-08-19 21:46:11 -04:00
Wyatt J. Miller
fdb3950670
added string file
...
i feel there be many more ToString functions in the future
2019-08-19 21:43:26 -04:00
Wyatt J. Miller
7f7fce65df
fixing some remote stuff
2019-08-19 21:43:01 -04:00
Wyatt J. Miller
4595ca4a5e
added sftp feature
...
i have the program reaching out to the remote machine and creating
the archive. however, it doesn't acutally grab the file and the
program creates an empty archive.
2019-08-18 18:12:47 -04:00
Wyatt J. Miller
d4c5d1d596
added tarring to the equation
2019-08-18 11:17:06 -04:00
Wyatt J. Miller
37ca23c542
optimization
2019-08-16 23:21:26 -04:00
Wyatt J. Miller
1755cb0f8c
refactored sshconnection initialization
...
it was needed, okay?
2019-08-16 22:00:36 -04:00
Wyatt J. Miller
659c9de867
executing test command
2019-08-16 19:45:01 -04:00
Wyatt J. Miller
a3e1ca6b2b
opening new sessions works
...
now it's time to execute commands and working on tarring directories
2019-08-14 18:57:03 -04:00
Wyatt J. Miller
996aef3c1e
added note about generating config
...
it's in generate.go, if it isn't obv enough :)
2019-08-14 18:41:15 -04:00
Wyatt J. Miller
d0869861ad
golang's ssh dialing is working
2019-08-14 18:31:13 -04:00
Wyatt Miller
0efb27374d
updated dependencies
2019-08-13 11:45:23 -04:00
Wyatt Miller
3594b1e5f1
struct mapping, initialize conneciton works
2019-08-13 11:43:47 -04:00
Wyatt Miller
e80d9c4563
tar folder for tarring files
2019-08-13 11:12:37 -04:00
Wyatt Miller
294293e060
updated dependencies
2019-08-13 11:10:18 -04:00
Wyatt Miller
3c6953de6b
yaml unmarshalling works
2019-08-13 11:01:26 -04:00
Wyatt Miller
d315337e8f
yaml stuff
2019-08-13 10:48:47 -04:00