- [X] Checks
- [X] Comments
- [X] Forks
- [X] Issues
- [X] Labels
- [X] Pulls
- [X] Retrieve Pulls Info
- [X] Get PR merge message
- [X] Releases
- [X] Repos
- [ ] Reviews
- [ ] This is GraphQL!…needs to be solved later
- [X] Status
- [X] Pipelines
- [X] Merge Requests
- [X] Comments
- [X] Issues
- [X] Review
- [X] Labels
- [X] Releases
- [X] Forks
- [X] Repos
- [X] Status
- gcli_fetch
- gcli_curl
We don’t care about the little strings we sometimes malloc. But the huge buffers are annoying.
- [X] Valgrind [100%]
- [X] issues
- [X] issues create
- [X] pulls
- [X] pulls create
- [X] comment
- [X] reviews
- [ ] custom LD_PRELOAD hack
it seems to reside in the issue data itself
- solved by printing issue summaries
src/editor.o: In function `gcli_editor_get_user_message': editor.c:(.text+0x108): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
Solved in commit 4be0ca8. Leave it up to the user to point at the right repo. Also, there are the -o and -r flags.
- [ ] gists
- [ ] releases
- [X] body
- [X] choose a git tag
- [X] attach files to release (aka assets)
- [X] mark as prerelease or draft
- [X] release resources properly
- [X] check that we are connecting to github if we ever use the
ci
subcommand see here
- [X] (maybe) integrate ci checks in status subcommand
- [X] Split
status
andsummary
subcommands:
summary
should print header and commitsstatus
should print summary and checks- [X] overflow bug in id
- [ ] dump logs I dunno whether i really want to implement
that. the problem is that github is misbehaving and doesn’t give me any association from the checks api to the actions api. maybe I wanna add an actions subcommand that handles this very case for github.
Probably we want to make wrappers around the GitHub code for the
cases where it works. For this to work, we need to mess with
github_get_apibase()
to return the right thing if we are looking
at gitea.
Optimise pad()
in file.c
$ gcli labels <red>bug</red> - something is broken ... $ gcli labels create --description 'something is broken' --color FF0000 bug $ gcli labels delete bug
- for colors see git implementation
- A PR has got reviews (could be none, could be a thousand)
- https://api.github.com/repos/zorchenhimer/MovieNight/pulls/156/reviews
- A review may have a body and comments attached to it
- https://api.github.com/repos/zorchenhimer/MovieNight/pulls/156/reviews/611653998
- A review comment has got a diff hunk and a body attached to it.
- https://api.github.com/repos/zorchenhimer/MovieNight/pulls/156/reviews/611653998/comments
- [X] Move config stuff to cmd and have callbacks that given the
context give you the account details etc.
This would allow you to create a mock context that returns only values that make sense in test contexts.
- [X] Add support for a testing gcli context
- [X] Put it into the context
- [ ] Clean up handle on exit
include docs/pgen.org in the distribution tarball
- [ ] Checks
- [X] Comments
- [X] Forks
- [ ] Gists
- [X] Milestones
- [X] Releases
- [X] Repos
- [ ] Reviews
- [ ] SSH keys
- [ ] Status
- [X] Issues
- [X] Labels
- [X] Pulls
- [ ] Comments
- [X] Forks
- [X] Milestones
- [X] Pipelines
- [X] Releases
- [X] Repos
- [ ] Reviews
- [ ] SSH Keys
- [X] Snippets
- [ ] Status
- [X] Issues
- [X] Labels
- [X] Merge Requests