herrhotzenplotz / gcli Goto Github PK
View Code? Open in Web Editor NEWPortable Git(hub|lab|tea) CLI tool
Home Page: https://herrhotzenplotz.de/gcli/
License: BSD 2-Clause "Simplified" License
Portable Git(hub|lab|tea) CLI tool
Home Page: https://herrhotzenplotz.de/gcli/
License: BSD 2-Clause "Simplified" License
as of #41 we have support for paging results. however it only allows for multiples of 30 results per page.
Whenever someone specifies -n or --count, this is rounded up to a multiple of 30, which is not really the intended behaviour. A bit of integer arithmetics will be required.
e.g.:
nico@hades:~/src/prozprog-ws21 $ ghcli -a tubaf issues
No GitHub or GitLab remote found
nico@hades:~/src/prozprog-ws21 $
kthx
The api returns an array of strings with the error messages instead of one string with the error message.
makes new forges easier. probably.
Unset forge-type in .ghcli and try to ghcli pulls
I wanna be able to do something like:
$ ghcli issues -i 95 assign herrhotzenplotz
This works fine however :
#!/bin/sh
# WARNING: This file is not generated by GNU autoconf
# You can edit this file and things will happen as intended.
# to make people learn to read
for f in `find /usr/include -name \*.h | sed 500q`; do
echo "checking for "`basename $f`" ... ok"
sleep 1
done
/usr/bin/printf "error: If you had read the README.md, you wouldn't\n"
/usr/bin/printf " : have seen this message on your screen.\n"
/usr/bin/printf " : To quote the configure script from chibi-scheme:\n"
/usr/bin/printf " > Autoconf is an evil piece bloatware encouraging cargo-cult programming.\n"
/usr/bin/printf " > Make, on the other hand, is a beautiful little prolog for the filesystem.\n"
/usr/bin/printf " > Just run 'make'.\n\n"
/usr/bin/printf " : Oh and also, whatever just happened was a total waste of your time.\n"
For manually switching to a github or gitlab type api.
This is e.g. useful when you are just exploring stuff.
Reproduce with:
$ ghcli gists create -d foobar Makefile < Makefile
We are currently not handling pagination of the responses properly.
I start to feel the need of a test suite for all this crap.
Create a man page.
Making it kinda weird using vi in ex mode.
To allow usage in gh enterprise repos.
I may have forgotten to handle it in all cases.
most of the subcommands use org instead of owner.
use that instead because it is the correct word.
Maybe add some command line flags for that purpose.
Ideas:
$ ghcli releases create --asset 'file=foobar.dat:label=test:name=foobar'
$ ghcli releases create --asset foobar.dat --label test --name foobar
We usually pass them into the url, but don't url-encode them. For correctness and proper working in weird cases, we may wanna do that. Especially if we start doing UTF-8 stuff.
ghcli_pulls_summary_free
frees the body pointer. however, it might be assigned with a
pointer that is in the .rodata ("") which causes jemalloc to get confused.
Some of the manpages are incomplete (synopsis) and many mention -r incorrectly.
We need to research this a little bit.
The GitLab API doesn't give us all the data we want/need etc.
Figure out a better way to display the data we need.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.