1
0
mirror of https://gitea.com/jolheiser/sip synced 2024-11-22 11:41:59 +01:00
Go to file
2020-03-31 20:17:01 +00:00
cmd Add create repo command (#13) 2020-03-06 04:21:56 +00:00
modules Add qualifier module (#10) 2020-03-06 04:18:36 +00:00
.changelog.yml Add changelog 2020-02-17 22:15:18 -06:00
.drone.yml Fix Drone release 2020-03-31 15:10:18 -05:00
.gitignore Rename project to Sip 2020-02-17 14:50:02 -06:00
.golangci.yml Initial progress 2020-02-14 14:46:02 -06:00
CHANGELOG.md Changelog 0.2.0 (#9) 2020-02-27 05:20:29 +00:00
go.mod Update Beaver and fix bugs (#6) 2020-02-27 02:53:11 +00:00
go.sum Update Beaver and fix bugs (#6) 2020-02-27 02:53:11 +00:00
main.go Update Beaver and fix bugs (#6) 2020-02-27 02:53:11 +00:00
Makefile Add search filters (#8) 2020-02-27 04:58:02 +00:00
README.md Add search filters (#8) 2020-02-27 04:58:02 +00:00

Sip (alternative)

CLI for interacting with Gitea

Build Status

Features

Understands the concepts of an origin vs remote repository.
By default uses remotes origin and upstream.
If no upstream repository is found, upstream becomes synonymous with origin for the sake of defaults.

  • Configuration sip config
    • Change the default origin remote name sip config origin
    • Change the default upstream remote name sip config upstrea
  • Tokens sip tokens
    • List current available access tokens
    • Generate a new token from CLI sip token create <token>
      • If <token> is present, add new access token, otherwise...
      • Authenticate with username/password to get a new token without leaving the terminal
    • Remove access tokens sip tokens remove
  • Repository status sip repo
    • Get basic information about the upstream repository
  • Issue search sip issues
    • Search issues based on keyword(s)
    • Create a new issue sip issues create
  • Pull request search sip pulls
    • Search pull requests based on keyword(s)
    • Create a new pull request sip pulls create
    • Check pull request status (default based on current branch) sip pulls status
    • Checkout a pull request to test locally sip pulls checkout

Search filters

Sip supports certain search filters for issues/PRs.
Anything in the query that doesn't match one of the below filters will be sent as a keyword

  • State is:open is:closed is:merged - only the last state in the query will be applied
  • Author author:jolheiser - only the last author in the query will be applied
  • Labels label:bug label:feature - all labels must apply to return results
  • Milestone mileston:v1.0.0 - only the last milestone in the query will be applied

e.g. test is:open query author:jolheiser milestone:0.2.0 will search for issues/PRs with keywords test query that are open, authored by jolheiser, and in the 0.2.0 milestone.