* Add google/renameio/v2 dependency
* Add new command to generate IntelliJ run configurations
* Detect the OpenSearch version for the Data Node config
* Use .template as template file suffix
The regenerate command picks up all ".xml.tmpl" files in the repository
and fails on the run configuration template.
So we use a different suffix to avoid that issue.
* Update dependencies
* Warn users about hostname setup in /etc/hosts
On Linux the *.localhost hostnames work automatically. On other
operating systems the users have to add the names to /etc/hosts.
* Update cobra and viper to their latest versions
* Start a changelog command
* Start changelog release command
* Add Document360 specific HTML formatter
* Add "new" command to create a new changelog entry
* Hide unfinished changelog release command for now
* Use Go version 1.19
* Update golang.org/x/sys to fix build error
* Clean workspace after each build
* Disable CGO for tests
* Remove wrong git checkout
* Update dependencies
Instead of questionable use of / slash index search or reliance
on implicit behaviour in path.Base() shave of URI parts by matching
regular expressions on them. Afterwards apply path.Base() and
do some sanity checks.
Note that net/url.Parse unfortunately can't be used in this context
because it has a stricter behaviour than needed here.
NameFromRepository now extracts the name
of a repository from a wider range of
repo urls. It is now more permissive towards
invalid/incorrect urls.
The test case has been extended.
This closes#6
IntelliJ cannot handle very long relative paths in the "<module>" tag
for some reason so we try to generate a short relative path. This was an
issue when the current working dir is inside a symlink.
Always resolve the symlinks before returning the current working
directory name. Functions like filepath.Walk do not handle symlinks
well.
Found out the hard way by @kroepke - Thanks!
Use the transport of the given graylog-project URL to decide how to
clone all other repositories.
Also remove obsolete --use-ssh and --use-https flags from bootstrap command.
Fixes#4