multi_repo_extractor's People
multi_repo_extractor's Issues
Add BitBucket support
Implement the Provider
interface that will return with all the repos (according to the visibility) that are accessible with the given token on BitBucket.
Don't automatically open the browser after program completed
After the generation is completed don’t open the browser immediately. Show the link that will be opened and wait for the user to press enter to avoid surprises.
Hide repo_info_extractor git clone output
Right now we don't print every output to the screen, but cloning repo_info_extractor does this. Hide it too. We'll provide a verbose flag in the future.
GitHub not working, asks for Username which is not required
if provider != "bitbucket.org" && len(username) == 0 {
log.Fatal("Username is required for Bitbucket.org authentication.")
}
The operator seems to be wrong, it should be:
provider == "bitbucket.org"
Couldn't process repo. Error:
Error message:
Couldn't process repo. Error:
No error is printed.
Adding a log here instead shows me the error:
err := cmd.Run()
fmt.Printf("Error %s\n", err.Error())
Real error
exec: ".../multi_repo_extractor/repo_info_extractor/run-docker-headless.sh": file does not exist
If none of the emails are matching show a warning to the user
If we don't found any of the user provided emails in the repos, show a warning to the user.
Add an example run command to README
Add an example command to run the program, with multiple emails.
error handling with a TOKEN filled with many spaces
When provided with a Token filled only with spaces it'll fail in the email check when doing the next thing for example:
./multi_repo_repo_extractor -token $TOKEN -emails [email protected] -repo_visibility "public"
Add verbose flag
It can be useful to add a "--verbose" flag to show more data about the processing status.
Besides adding more logs, we can also redirect git clone/pull output and repo_info_extractor output to the stdout.
Add "auto-update" functionality
We are going to have releases on github.
Using github API, our program can detect if there is a newer version, and if there is, it can download that new binary and replace the old one. It should check new version on startup and update the binary before doing anything else.
Refer this page to get more information about github API on releases:
https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#releases
Add GitLab support
Implement the Provider
interface that will return with all the repos (according to the visibility) that are accessible with the given token on GitLab.
Only for gitlab.com, self-hosted GitLabs are not part of this issue.
Clarify how to obtain personal access tokens
Provide a url in README to github generate PAT page. Clarify which scopes are necessery (only repo scope is). An image would be helpful too.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.