bump-version.sh is there to make it easier to changes version number when doing release.
It upates version number in README.md, cmd/version.go and install.sh.
This commit adds a Getting Started guide for making it easier for
new users to get onboarded. Also updates the references in
README.md to point to the guide.
Use the same naming pattern for all cobra commands variables.
The patter is camel-cased <root command name><subcommand name>Cmd. Example 'applicationListCmd'.
We have (incomplete) copyright header in 5 files.
Removing it will at least make it consistent. If in future there is a
need to have it in files, we will add it to every file we have created.
There is also root LICENCE file, that is indicating what licence this
project is under.
Prior to this commit, the latest release information was fetched
from GitHub in a blocking manner, which means that even for a very
quick command like `ocdev version`, the tool would wait for a few
seconds before outputting the version, because the execution would
be blocked on waiting for the response from GitHub APIs.
This commit changes that and makes the request to GitHub
concurrent and non-blocking. This means that if the request has
not completed but the program execution has ended, then the tool
will exit gracefully without waiting for the request to complete.
However, if the program execution took longer than the request and
the response has been received by the goroutine before the program
execution is over, then, if applicable, the information is
printed.
Fixes#122
- fix it on macos
- add version variable
- curl as pre-requisite for ubuntu/debian
- update release process docs regarding install script update
- update readme - use bash instead of sh
- download to temporary directory
This is the only way how we can make sure that we show all aplications
that user has created (even all the empty ones).
This commit also adds 'application delete'
This commit notifies the user if a newer ocdev release is available
than the release that they have installed right now.
If there is an error getting the new release, the error is ignored
but logged, because this should not block program execution.
This commit changes the VERSION that is reflected in `ocdev version`
to v0.0.1 which is in sync with our release versions on GitHub as
well as the rest of the Kubernetes, OpenShift ecosystem.