Skip to content

refactored ~/cmd - #33

Open
gravestench wants to merge 3 commits into
my5G:masterfrom
gravestench:refactor_build_target
Open

refactored ~/cmd#33
gravestench wants to merge 3 commits into
my5G:masterfrom
gravestench:refactor_build_target

Conversation

@gravestench

@gravestench gravestench commented Feb 25, 2022

Copy link
Copy Markdown
  • moved ~/cmd/app.go to ~/cmd/my5g-RANTester/main.go
  • refactored logging, command declaration
  • split into multiple files
  • switched to using constants and fmt.Sprintf for formatting stuff
  • removed unnecessary command aliases

to build the target, use the following:

go build ./cmd/my5g-RANTester

EDIT: added the above build command to the github workflow

* moved `~/cmd/app.go` to `~/cmd/my5g-RANTester/main.go`
* refactored logging, command declaration
* split into multiple files
* switched to using constants and fmt.Sprintf for formatting stuff
gravestench added a commit to gravestench/my5G-RANTester that referenced this pull request Mar 1, 2022
* config global state removed from the config module
* config global state now resides in main, TODO to remove it
* config now creates a default if none are found
* added command line option for specifying the config file
* added command line option to specify the log level
* config directory now looks in user dir, in a platform agnostic way.
ex: on linux, will typically look in `~/.config/my5g/RANTester` for file
`config.yml`
* updated go.mod to use go v1.16
* embedded default config file data
* errors are now bubbled up appropriately
* depends on my5G#33
@gravestench gravestench mentioned this pull request Mar 1, 2022
gravestench added a commit to gravestench/my5G-RANTester that referenced this pull request Mar 2, 2022
* config global state removed from the config module
* config global state now resides in main, TODO to remove it
* config now creates a default if none are found
* added command line option for specifying the config file
* added command line option to specify the log level
* config directory now looks in user dir, in a platform agnostic way.
ex: on linux, will typically look in `~/.config/my5g/RANTester` for file
`config.yml`
* updated go.mod to use go v1.16
* embedded default config file data
* errors are now bubbled up appropriately
* depends on my5G#33
@gravestench

Copy link
Copy Markdown
Author

is my5g dead, or something?

@baleeiro17

Copy link
Copy Markdown
Collaborator

is my5g dead, or something?

No, it is not dead, but the team is very busy these months and we haven't had much time to analyze your pull requests.

Sorry, Lucas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants