Giter Site home page Giter Site logo

bob's People

Contributors

dependabot[bot] avatar gradle-update-robot avatar joffrey-bion avatar

Watchers

 avatar  avatar  avatar

bob's Issues

Rework providers with a more generic approach

We should be able to define providers as an independent module with the following:

  • name (used to enable the provider (e.g. bintray, enabled by --bintray flag)
  • an OptionGroup of command line options to add when the provider is enabled
  • an implementation to fetch secrets, returning a common Secret type (with name and value)

From this, the list of providers should be used to configure the main set-github-secrets command.

Rework username / repo name approach

  • The login just requires the token
  • The repository could be provided in the form user/repo.
  • Multiple repositories could be provided with different orgs or users.

Maybe the username could be optional, then?

Command to check git project statuses

This is useful when changing laptops to verify that all local git projects are clean and no local changes will be lost in the process.

The command could work in a way similar to https://github.com/fboender/multi-git-status

At least it could do this kind of things:

  • Browse a folder hierarchy for git projects
  • Show dirty workspaces
  • Show unpushed commits
  • Fetch and detect unfetched commits? This could make it harder to see whether something was force pushed to origin and we should discard local commits, or if the local commits should be consider

Split fetch-keys and set-github-secrets commands

Fetching keys can take some time and it could be useful to do it only when we want to update keys, or fetch them the first time.

Setting secrets can be done on multiple repositories in multiple commands, and it would be useful to have it as a separate command.

Doing this requires deciding on a way to store the data, which may not be obvious given the sensitivity.
We could provide several options:

  • [windows-only] set secrets as environment variables in the local system
  • set secrets in a plain text file (at a given path), maybe by default under ~/.ghsecrets
  • if possible, store it in the system-dependent credential manager / key ring (is there a java API for this?)

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.