Code Monkey home page Code Monkey logo

hubsync's People

Contributors

mariocj89 avatar

Watchers

 avatar  avatar

hubsync's Issues

Interactive config file creation

On the first run (if no config file is found), guide the user over all the options he have and create a config file for him interactively.

See #7 as might be useful for this task

Create forks in the user space

Add an option to allow the user to automatically create forks for all the repos in organizations belongs to and add a remote for it.

Basic Configuration File

Basic configuration should be store within a config file.
Like the root of the local workspace (instead of the current path)

Update and clean remote forks

Update remote forks using hubsync
We can use the github api to remove stale branches and keep up to date the user forks.

Support for custom SSL certificates

Add an option to the config file to provide a custom certificate

We need support for custom certificates as many enterprise github instances might be behind a proxy or use custom certs

Use yaml instead of plain config ini files

It might be more interesting to use yaml than a config file as it has proper support for structures like lists

This prevents for example being able to provide a list of commands (pre/post) at the moment users need to chain all their commands.

Read github api key from file

github api key is available within your local config, it should be read from it
(configurable through the main config file. See #2 )

Unable to import hubsync

When installing hubsync and running it:
Traceback (most recent call last):
File "/home/mcorcherojim/.local/bin/hubsync.py", line 8, in
import hubsync.github
File "/home17/mcorcherojim/.local/bin/hubsync.py", line 8, in
import hubsync.github
ImportError: No module named github

Issue is that it does not import the package hubsync but the python module (the script)

A possible solution is to move the script to a bin/scripts folder and remote the .py from it.

Support for multiple github instances

Allow users to set hubsync for multiple github instances (multiple enterprise or single enterprise and github for example) This requires config for multiple users, api key and api url

Configurable option to don't group repos in orgs locally

Add an option to configure hubsync to checkout all repos within the workspace root.
Would be better if it can be configured per org.

In brief the idea is to get

my_ws
|-- org1
    |-- repo1
    |-- repo2
| -- org2
    |-- repo3

as:

my_ws
|-- repo1
|-- repo2
|-- repo3

Option to choose whether to include forks

When checking out all the repos of an organization or an user, we need to be able to choose whether we want to clone locally not only the source repos but also the forks (No by default)

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.