mariocj89 / gitorg Goto Github PK
View Code? Open in Web Editor NEWOrganise your repositories as a repo. Create repository lists and track them.
Home Page: https://pypi.python.org/pypi/gitorg/
License: MIT License
Organise your repositories as a repo. Create repository lists and track them.
Home Page: https://pypi.python.org/pypi/gitorg/
License: MIT License
Add a section in the README.rst on how to add gitorg as an alias so it can be run as git org XXX
Brings locally new repos present in github but not locally.
The new version of gitorg requires python3.6.
Consider porting to older versions of python if there is a usecase for it.
It takes down the fun of coding on it but many platforms don't have a 3.6 version installed.
Add support for an ~/.gitorgrc
file to set all config variables and options there
Configure travis to automagically deploy to PyPI on a push to master.
If an user wants to use the tool for enterprise and public github it requires two different files atm
Creates in the github organization the repos created locally
Status should return the status of the organisation locally.
It should print:
Explore the idea of supporting gitorg add
jumping over the gitorg init
step.
Some users might use gitorg just to clone an organization of a user, for that usecase it might be simpler to just do gitorg add in a single command and the first one triggering an init.
Create a new command that brings locally all repositories listed but not available locally.
At the moment when a folder is renamed locally, gitorg will report it as added and the original. Support some way to enable this.
As an example gitorg add github:python
brings you locally all repositories from the python org. If you rename peps
repository to python-pep
gitorg will report it missing.
Solution: Explore the option of getting local names from the default git remote rather than the name of the folder. In the previous example, origin will still be python/pep
Reproduce:
gitorg init
gitorg add github:python
mv peps python-peps
gitorg status # This will now report peps as missing
An explicitly list of repos will allow a subset of an org, or repos from different orgs.
https://github.com/gitshelf/gitshelf might be a source of inspiration.
When running gitorg status and a repository is missing, only "D reponame" appears, but there is no way to know where it comes from.
Include the list where it comes from on the side:
D reponame [github:org/*]
If a long list of repositories is being cloned the user gets no feedback on what is going on.
Add a progress bar to give the user the feeling the app is not just "stuck"
Allow the user to configure a default protocol.
For example if github is configured as such, the following will be identical:
gitorg add mariocj89
gitorg add github:mariocj89
When performing gitorg status
the app can also compare the main branch of the repo in github with the version locally, gitorg pull
can bring those changes locally and gitorg push
send them
Click is missing from setup.py
Allow users to define their own protocols that inherit from github.
This should be configuration only and allow to override:
marioc89/github-token
)As an example, a command like:
$ gitorg protocol create
> Choose a base protocol [github]: github
> API_ENDPOINT: enterprisegithub.mycompany.com/api/v3/
> Do you want to generate a token to access the API? [Y/n]
> Choose a name for your new protocol: ghe
Will allow the user to later run:
gitorg add ghe:myuser
Note, this is a complex issue
Implement a new command for gitorg that will run a shell action across all the repositories.
Example:
gitorg <new_name> ls .git
will run ls .git
in all repositories locally. Note this is different from just running a shell script in all local folders as not all files in a folder are git repositories. It will be identical though to run the command in all local git folders.
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.