Git Product home page Git Product logo

gothub's People

Contributors

aktau avatar bilge avatar carlsverre avatar fasterthanlime avatar gableroux avatar jaytaylor avatar jwilder avatar kruton avatar mfonville avatar nohum avatar pgokul avatar tenzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gothub's Issues

Getting 404 error during release

$ root@localhost testing_pipeline]# gothub release --user training3 --repo testing_pipeline --tag v66 --name "the source street" --description "please work now" --pre-release

It is returning 404 error:
error: github returned 404 Not Found

Am I missing something here?
I have exported GITHUB_TOKEN and verified.

Upload with user โ‰  repo owner

I wish to be able to upload to an organization repository. For this, I think I must use a token from my personal user account which has the write access.
But I can't target another repo than defined by user/repo.

I am looking to have a configuration which is somewhat like:

GITHUB_USER=jpcima
GITHUB_REPO=linuxmao-org/FreeMajor

Maybe when repo is in the form abc/xyz, gothub can use this part in place of the user name to designate the repository target.

Access Token in Output

The display of URLs that contain access tokens should be off by default and have an option to display them if needed. It is useful to have the output for progress indication purposes, so redirecting it isn't the best solution.

Wrong branch when detaches state

If I create a release from a cloned repo in detached state mode, the tag is created on the branch master, which is not where my current tree come from.
Can I specify a branch when using "gothub release" ?

Github API change: `access_token` query parameter is deprecated

It seems the API gothub uses to upload releases has changed - I received this message when using it:

Hi <redacted>,

On February 10th, 2020 at <redacted> (UTC) your personal access token (<redacted>) using Go-http-client/1.1 was used as part of a query parameter to access an endpoint through the GitHub API:

https://api.github.com/repositories/<redacted>/releases

Please use the Authorization HTTP header instead, as using the `access_token` query parameter is deprecated and will be removed July 1st, 2020.

Depending on your API usage, we'll be sending you this email reminder once every 3 days for each token and User-Agent used in API calls made on your behalf.
Just one URL that was accessed with a token and User-Agent combination will be listed in the email reminder, not all.

Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information.

Feature request: allow deleting individual binary releases

Hi,

I know that this program allows users to delete tagged releases and their release notes, but I was wondering if it's possible that you could add the ability to delete individual binary releases (and only the binary releases the user selects for deletion, not all the binaries attached to a release) from release notes. I ask for this because I have my own package repository for Arch Linux binary packages that I maintain on GitHub (https://github.com/fusion809/PKGBUILDs/releases/tag/current) and when a new version of a package comes out I would like to delete the old version of the package from the command-line (using this program, gothub, of course) and add the new updated version of the package.

By-the-way: I have created an Arch User Repository (AUR) package (URL: https://aur.archlinux.org/packages/gothub) and a binary package (see the GitHub repository link I gave earlier, this binary is in that Arch Linux repository I maintain on GitHub) for gothub.

Thanks for your time,
Brenton

Precompiled binaries?

Hello,
first, thanks for this fork; I'm experiencing a couple of issues with github-release but I noticed that it didn't seem mantained anymore.

Would you think about uploading precompiled binaries as releases? Building every time from source seems needlessly complex to me... and for a tool that lets to create releases easily, this should be very easy :-)

How to know when github returns a 422

Right now when github returns an error, the return code from gothub is 1

It would be nice if there was some way to know (other than parsing the output) what the github code was

I was hoping that the return code could be set to the github code

Annotated tags

Would it be possible to add an option to create an annotated tag instead of a lightweight tag?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.