gogs-cli
Version:
Commandline interface for your Gogs needs
86 lines (48 loc) • 4.04 kB
Markdown
This file will contain the most important changes in the different versions of the package.
While the version is below v1, it will follow this versioning:
Minor version change (0.x.0) means a breaking change that may require you to do some reconfigurations.
Patch version changes (0.0.x) means a feature and/or bug fix.
# 0.3.0
**Date**: 11.01.2020<br>
**Changes**:
Changes shebang from `/usr/bin/node` to `/usr/bin/env node` in order to support systems where node is not located within `/usr/bin` (see #8).
This may be a possible breaking change depending on your setup. In most cases, it will work flawlessly. However, should you have a different node version within your path than that of `/usr/bin/node`, there may be issues.
# 0.2.3
**Date**: 09.02.2018<br>
**Changes**:
No features, just bug fixes. Fixes a crash that would occur if the CLI could not get in contact with Gogs. When not able to contact through the hostname, a more nicely formatted error is displayed instead.
# 0.2.2
**Date**: 09.02.2018<br>
**Fixes**: #3, #4, #5<br>
**Changes**:
Adds the option of listing all repositories for a specific user or organization. This can be done by specifying the optional name after `gogs repo list`, such as `gogs repo list reewr`.
Fixes an issue with column formatting when listing repositories that could cause newlines to contain whitespace on the left side of the text, which was not ideal.
Removes filtering by pull requests in `gogs issue list` as this did not work at all. Listing issues did not list any pull requests. Since the pull request API has not yet been implemented, this is, for the moment, impossible to do.
Adds `gogs issue list assigned` that retrieves all the issues that are assigned to you.
Adds an indication of loading since some commands take quite some time. It also feels better to give feedback through it.
`gogs issue list` can now take an organization or a username to list all the issues within the organization's repositories or within the user's repositories.
`gogs issue read` now has a whole new format when outputting, the same goes for `gogs issue reply`, which follows the same formatting as read.
In addition to this, there's a lot of structure changes in the project to allow for simpler development. However, these should be unseen by users.
# 0.2.1
**Date**: 31.01.2018<br>
**Changes**:
Adds two options to `gogs issue list`. `-p` and `-n` (`--pull-requests` and `--no-pull-requests` respectively). These can be used to only list or not list pull requests together with the issues.
Some fixes to issues that could cause the config to be overwritten with default values.
Adds better formatting when listing repositories. Adds `-l` (`--list`) command to `repo list` to allowing printing the repositories as a list of instead of in columns.
# 0.2
**Date**: 31.01.2018<br>
**Fixes**: #1, #2<br>
**Changes**:
This version causes a breaking change. It changes one of the important configuration field names from `host` to `hostname`. As the package is still unstable and under v1, it does not yet follow semantic versioning. Once stable, any breaking changes will incur a major version change.
This version cleans up the configuration code and how hostnames are handled. It should now be possible to use HTTPS Gogs as well (this was a dumb oversight by me when performing testing).
In addition, `ignore_invalid_ssl_cert` has been added as a configuration option to allow you to connect to HTTPS servers that does not have a valid certificate. Please be aware that this means that any certificate is then accepted as valid during the requests preformed by this CLI. It does NOT make any requests to any other sources than the one you defined in the `hostname` field in the config.
# 0.1
**Date**: 29.01.2018<br>
**Changes**:
This was the first version of the CLI, including commands such as:
- gogs config {get, set, describe}
- gogs issue {add, list, read, reply}
- gogs repo {add, list}
- gogs user {find}
- gogs util {gen-autocompletion}