Commit graph

160 commits

Author SHA1 Message Date
5386ba3397
chore: made changes to build and fix issues 2025-07-10 21:43:39 -06:00
788926a033
chore: miscellaneous updates 2025-07-10 21:41:13 -06:00
2596e8945f
Add support for storage command and crawler output
Partially addresses issue #3 by adding a simple `magellan list devices` command to list storage devices. To close the issue, this PR still requires including storage device information in the `crawler`'s output.

Reviewed-on: towk/magellan-ng#5
2025-07-10 21:38:28 -06:00
4e98c4b518
Changed DeleteScannedAssets to work correct and added db tag 2025-07-10 21:30:26 -06:00
1fea9a3316
updated all references 2025-07-10 21:16:33 -06:00
0106bb969a
Fixed removing from cache with --with-* flags 2025-07-10 21:08:25 -06:00
6e483064e0
Minor changes 2025-07-10 21:06:41 -06:00
0d6cfdec2b
feat: add non-interactive cache editting 2025-07-10 20:57:28 -06:00
a9d59ee50d
feat: updated cache implementation and fixed bugs 2025-07-10 20:56:06 -06:00
e85fd21922
refactor: updated cache editor implementation 2025-07-10 20:56:05 -06:00
0117f0355a
chore: made changes to build and fix issues 2025-07-10 20:56:04 -06:00
86fcf54b6e
chore: miscellaneous updates 2025-07-10 20:56:03 -06:00
114086f78b
feat: added JSON utility functions 2025-07-10 20:56:02 -06:00
12969adf25
Add support for storage command and crawler output
Partially addresses issue #3 by adding a simple `magellan list devices` command to list storage devices. To close the issue, this PR still requires including storage device information in the `crawler`'s output.

Reviewed-on: towk/magellan-ng#5
2025-07-10 20:56:02 -06:00
841a427020
Changed DeleteScannedAssets to work correct and added db tag 2025-07-10 20:54:29 -06:00
fb3a936224
updated all references 2025-07-10 20:54:25 -06:00
683c8e977e
Fixed removing from cache with --with-* flags 2025-07-10 20:54:24 -06:00
98ad63a797
Minor changes 2025-07-10 20:54:24 -06:00
7e7c8ed274
Changed DeleteScannedAssets to work correct and added db tag 2025-07-10 20:54:20 -06:00
David Allen
04e1fb26c9
Split the collect Command For Customization (#93)
* feat: initial implementation of command split

* feat: update collect and new send cmd

* chore: cleanup unused code

* chore: refactored getting username

* chore: more refactoring and cleanup

* feat: update send cmd implementation

* chore: changed/updated example config

* chore: made cmd more consistent and added formatting

* refactor: removed --host flag from scan

* chore: cleaned up and fixed issue with client

* chore: cleaned up CLI flags in collect cmd

* feat: updated crawl to include managers and output YAML optionally

* refactor: updated and improved send implementation

* refactor: minor improvements

* refactor: added util func to check for empty slices

* fix: issue with reading from stdin

* refactor: added scheme trimming function for URIs

* refactor: changed host arg back to positional

* refactor: removed unused vars and added --output-dir flag

* fix: make -f for secrets persistent

* refactor: removed --host flag and request in collect

* refactor: changed --output flag to --output-file

* fix: updated flags for collect

* fix: typo in crawler error

* fix: dir being created when outputDir not set

* fix: reading stdin and data args

* fix: made output using -v and -o consistent

* readme: added info about command split

* updated changelog adding missing version entries

* chore: updated example to use host as positional arg

* fix: issue with reading --data arg

* fix: remove unused import from collect pkg

Signed-off-by: Devon Bautista <devonb@lanl.gov>

---------

Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
Signed-off-by: Devon Bautista <devonb@lanl.gov>
Co-authored-by: Devon Bautista <devonb@lanl.gov>
2025-05-29 15:15:46 -04:00
Devon Bautista
db6d958934
fix: move BMC credentials getter that logs to util func 2025-04-16 22:42:19 -06:00
David Allen
2b1277690b
Merge pull request #74 from OpenCHAMI/export-funcs
refactor: moved internal functions to pkg and updated refs
2025-02-20 19:23:23 -07:00
5843bc1768
refactor: moved internal functions to pkg and updated refs 2025-02-20 17:09:21 -07:00
David Allen
5357aab06f
fix: change db.MustExec to db.Exec and handle error 2025-02-06 12:59:24 -07:00
Alex Lovell-Troy
6f18094680
Refactor how versioning information is indicated in the build and in the source. 2024-10-30 12:36:07 -06:00
David Allen
9e289b4946
Merge branch 'main' into manager-data
Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
2024-10-24 17:57:00 -06:00
265021056f
collect: removed extra gofish import 2024-10-23 11:30:07 -06:00
27fec74cea
collect: fixed issue with writing output to file 2024-10-15 15:26:20 -06:00
e87b2184a2
cache: refactor after updating util 2024-10-15 15:25:42 -06:00
036a5d3ab7
util: refactor checking if path exists 2024-10-15 15:25:03 -06:00
deffdc48db
collect: added MACAddr and manager data to output 2024-10-15 13:54:00 -06:00
David Allen
affba7dfa3
Added CheckUntil() for tests 2024-09-26 10:26:03 -06:00
David Allen
874d750dde
Added temporary solution for creating new clients 2024-08-27 17:17:19 -06:00
David Allen
9991f02631
Updated warning message and changed SMD client to use pointer receivers 2024-08-27 15:55:16 -06:00
2e036c549d
Rearranged collect error to only show when not force updating 2024-08-21 16:55:07 -06:00
00aaf1bf4c
Added schema version to output 2024-08-21 13:26:00 -06:00
David Allen
046a833941
Fixed passing the correct argument in Sanitize() 2024-08-14 13:33:12 -06:00
David Allen
4597f63d12
Fixed issue with host string and added internal url package 2024-08-14 10:57:30 -06:00
David Allen
2b291f811a
Fixed scan not probing the host correctly 2024-08-13 17:01:21 -06:00
David Allen
dc07b5396b
Changed saving host to include scheme for collect 2024-08-13 16:48:11 -06:00
David Allen
81ec43a923
Minor changes to fix lint errors 2024-08-13 10:41:06 -06:00
David Allen
e02558fd00
Minor changes 2024-08-12 13:08:30 -06:00
David Allen
411102881d
Removed files from util 2024-08-12 13:07:30 -06:00
f7159c9b66
Fixed issue with collect requests and other minor changes 2024-08-11 14:25:21 -06:00
d930c4136f
Changed how based URL is derived in update functions 2024-08-11 14:23:19 -06:00
bc01412b08
Fixed port not being added to probing request 2024-08-09 17:51:23 -06:00
7beb7a33fc
Renamed struct 2024-08-09 17:39:14 -06:00
David Allen
8e59885f55
Minor changes and improvements 2024-08-09 07:58:42 -06:00
David Allen
77b6a9ba7b
Added check for output directory for collect 2024-08-08 12:21:52 -06:00
4cc3f7f7ac
Changed order of adding default ports to add host correctly 2024-08-07 19:57:37 -06:00