Skip to content

Releases: jordilin/gitar

v0.1.49

13 Apr 04:36
d5a52c1
Compare
Choose a tag to compare

New features

  • Provide exponential backoff options during list operations. gr mr list opened --backoff --retry-after 60 --max-retries 2 will retry up to two times using exponential backoff using one minutes as the initial delay before retrying. Retry will only happen during a transport error or rate limit error from the server.

Improvements

  • Make use of HEAD HTTP request when retrieving number of available pages for a given resource - Thanks @BipulLamsal for working on that.
  • List up to --to-page pages if provided. Before it was limited by 10 maximum pages (internal default) or config based maximum number of pages for the API the user was interacting with.

v0.1.48

05 Apr 05:09
518f5ce
Compare
Choose a tag to compare

This release organizes CLI options in sections. Ex. List options, formatting options, etc... so it's easy to navigate as the number of options increases when issuing --help.

v0.1.47

04 Apr 06:15
696e4ba
Compare
Choose a tag to compare

Provide list current user projects. Supported for Gitlab and Github.

Ex.

  • gr my pj list my projects.

v0.1.46

03 Apr 04:05
6317089
Compare
Choose a tag to compare
  • Add list options --stream and --throttle.

    • --stream will print out results as they become available
    • --throttle <milliseconds> amount of time gitar will wait before submitting another request to the server. Good option for long running requests.
  • Add CLI coloring

v0.1.45

30 Mar 18:45
8a17b25
Compare
Choose a tag to compare
  • Move --verbose as a global option.
  • Set --wip as an alias for --draft when creating a pull request

v0.1.44

29 Mar 05:37
59be276
Compare
Choose a tag to compare

Provide logging --verbose or -v flag for gitar.

Ex:

  • gr -v pp list List pipelines and enable INFO level logging providing basic information on the operations being done
  • RUST_LOG=debug gr -v pp list As above but provide DEBUG and INFO level logs

See README logging section for more information.

v0.1.43

25 Mar 03:40
1e938d8
Compare
Choose a tag to compare
  • Provide pull request details for a given pull request id.
  • Provide a --more-output flag. Allow to display more fields associated to a resource.

Ex:

  • gr mr get 123 Get pull request details for pull request id 123
  • gr mr get 123 --more-output Gets even more details with description, merged at, pipelines associated

v0.1.42

23 Mar 06:10
bfdfbba
Compare
Choose a tag to compare

Provide command gr mr comment --id <id> "message" to comment on a pull request
timeline.

v0.1.41

21 Mar 06:25
8e9fe69
Compare
Choose a tag to compare

Gather all pipeline runners in a Gitlab instance (Gitlab admins) and in any state.

Ex:

  • gr pp rn list --all online Gather all pipeline runners in a Gitlab instance (--all) with online state
  • gr pp rn list --all all Gather all pipeline runners in a Gitlab instance at any state.

v0.1.40

20 Mar 06:58
600884a
Compare
Choose a tag to compare
  • Gitlab list project runners filter by tags

    • gr pp rn list --tags tag1,tag2 online Lists online runners with those tags
  • Trim whitespace when formatting output using vertical bars (pipes) ("|")

  • Use CSV serialization to properly format fields which might have commas and or | characters that can interfere with the actual delimiters.