ansible / mazer

Experimental Ansible Galaxy Content Manager
GNU General Public License v3.0
114 stars 18 forks source link

`push github` command #117

Closed chouseknecht closed 6 years ago

chouseknecht commented 6 years ago

We've been given the green light to move forward with Artifact Build and Import Proposal

In support of that, Mazer needs to have a push command that does the following, as taken directly from the proposal:

The artifact will be hosted on GitHub, and indexed in Galaxy. To make it easier to push the artifact to GitHub, Mazer will provide a command that interacts with the GitHub API, and performs the push. Other mechanism for pushing an artifact to GitHub are available, and thus it’s not strictly required that Mazer be used for this purpose. Adding support into Mazer is for convenience only.

To perform the push to GitHub using Mazer, the user will run the command mazer push github, and after successfully performing the push, Mazer will return the GitHub URL to the archive.

Note: For this to work, Mazer will need a GitHub OAuth token with public_repo scope. Mazer will provide a command line option, and possibly a config setting, as pathways for the user to provide the token.

chouseknecht commented 6 years ago

Based on changes to the Artifact Build and Import Proposal, we're putting the push command on hold.

Rather than have a separate step that pushes to GitHub, Mazer will push to the Galaxy server, and the Galaxy server can push the artifact to GitHub, and possibly in the future, store a copy in Pulp or similar service.