Comments (21)
Alright. I just learned about Probot yesterday, but I've got a hackathon tomorrow so I will try to take a quick and terrible stab at implementing this.
from ideas.
I built one here. Feel free to try it out and give it a star 😄 if you like it ^
from ideas.
Hey everyone, I just remembered that I forgot to give an update on my progress after the hackathon.
The code can be found here: https://github.com/tanelso2/auto-fork-sync and if you want to see how it works, I've been using these repositories to test it: https://github.com/tanelso2/fork-sync-test and https://github.com/MaxBob/fork-sync-test
Feel free to comment, criticize, or open PRs to improve it!
Contribute to auto-fork-sync development by creating an account on GitHub.
Contribute to fork-sync-test development by creating an account on GitHub.
Contribute to fork-sync-test development by creating an account on GitHub.
from ideas.
It's kinda pathetic that the answer isn't "wow! what a great feature", instead of "everyone should fend for themselves!"
We manage large teams on 3 continents. The fact that we have to perform constant reverse PR's is just stupid after using BitBucket, or get every developer to implement the script on a variety of technologies, most of which are not Linux and most of whom do not have CRON access.
Not my fault that I am forced back into GitHub as I work for a large organization and they dictated it. Just that 1 feature makes paying for BitBucket worth it. We were very upset when them made us move to GitHub, and the primary reason is the attitude that these time saving features are not worth the effort!
Come on! Get this added please!
from ideas.
I built one here. Feel free to try it out and give it a star. smile
Wei's tool is excellent!
from ideas.
@wei i can't easily do it in a 10 line script tho, that's the use case for github apps like yours (which i highly enjoy btw): comfort factor.
from ideas.
@tekdeveloper just try: https://github.com/wei/pull#readme or from the apps page: https://github.com/apps/pull
⬇️ Keep your forks up-to-date via automated PRs. Contribute to wei/pull development by creating an account on GitHub.
GitHub is where people build software. More than 40 million people use GitHub to discover, fork, and contribute to over 100 million projects.
from ideas.
Is there also a similarly neat tool for the opposite use-case: the owner of a repo wanting to observe its network of forks for commits & branches whose authors have (for whatever reason) not started a PR?
from ideas.
Found some under the topic forks-insight
:-) </topic-hijack over> Apologies!
from ideas.
Yesss! This is a great idea, and definitely possible.
from ideas.
@tanelso2 good luck! If you want some quick help you can jump into our Slack channel (but of course you'll have more fun hacking away with your team)
from ideas.
I've also been using pull
. Works great, besides the notification spam :D
from ideas.
@pvinis that's a github problem. if . githbu source code was . open it . could more easily/faster resolvable.
from ideas.
Would also be cool if github allowed forking complete organizations or accounts.
from ideas.
What is the use case? It can be done by pulling public repos and forking via API.
from ideas.
@wei so forking orgas/users as an app? would be awesome
from ideas.
@ghost i don't see a wide need for this though. It can be done in a cron script in probably under a dozen lines.
from ideas.
@ghost I would if there was more demand, this is the first case i've heard.
Here you go:
#!/usr/bin/env python3
from github import Github
owner = '<Insert org/user>'
g = Github("<Insert Personal Access Token>")
for repo in g.get_organization(owner).get_repos():
print('Forking ' + owner + '/' + repo.name)
try:
g.get_user().create_fork(repo)
except Exception as e:
print(e)
replace get_organization(owner)
with get_user(owner)
if that's what you want. It's really just 3 lines before the fluff.
from ideas.
@pvinis that's a github problem. if . githbu source code was . open it . could more easily/faster resolvable.
what?
from ideas.
from ideas.
A naive implementation that "simply" presents all the forks' new commits (by message, with option to load the diff) that are not already included in a PR, might already be useful.
[…] not be overwhelmed by information for all of them?
An ignore this branch/commit
feature would help, like in a spell-checker ;-) One would have to go through the entire list at least once in any case. Like a mergetool making you resolve one conflicted chunk after another.
The github-sort-forks
action does a bit of that, and GitHub's /network
view goes further, but becomes unwieldy very quickly. Effectively I'm looking for some kind of offspring/relative of those 2 tools.
from ideas.
Related Issues (20)
- Auto assign newly created issues to a specific person
- Add title to issue links? HOT 2
- بانک جهانی HOT 5
- Probot deployment using kubernetes/helm HOT 1
- Merge queue HOT 2
- Spotify integration?
- Keeping issues and PR in-sync with GitLab side HOT 1
- Don't dismiss stale reviews if the code diff doesn't change on rebase
- shakibae01
- ITResearch Introduce
- Creation of an automation app
- Not working on release name with wild character *
- asdasdasd HOT 1
- 1223123
- custum probot
- Creation of probot.github app failing with Error: The programmatic API was removed in npm v8.0.0
- agba-merger
- Create a bot to send Github inactivity reminders to email HOT 2
- module.exports HOT 1
- AI repo assistant bot
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.
from ideas.