Giter Club home page Giter Club logo

Comments (21)

tanelso2 avatar tanelso2 commented on May 22, 2024 4

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.

wei avatar wei commented on May 22, 2024 4

I built one here. Feel free to try it out and give it a star 😄 if you like it ^

from ideas.

tanelso2 avatar tanelso2 commented on May 22, 2024 3

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!

GitHub
Contribute to auto-fork-sync development by creating an account on GitHub.
GitHub
Contribute to fork-sync-test development by creating an account on GitHub.
GitHub
Contribute to fork-sync-test development by creating an account on GitHub.

from ideas.

tekdeveloper avatar tekdeveloper commented on May 22, 2024 3

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.

keidrych avatar keidrych commented on May 22, 2024 1

I built one here. Feel free to try it out and give it a star. smile

Wei's tool is excellent!

from ideas.

 avatar commented on May 22, 2024 1

@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.

muescha avatar muescha commented on May 22, 2024 1

@tekdeveloper just try: https://github.com/wei/pull#readme or from the apps page: https://github.com/apps/pull

GitHub
⬇️ Keep your forks up-to-date via automated PRs. Contribute to wei/pull development by creating an account on GitHub.
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.

katrinleinweber avatar katrinleinweber commented on May 22, 2024 1

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.

katrinleinweber avatar katrinleinweber commented on May 22, 2024 1

Found some under the topic forks-insight :-) </topic-hijack over> Apologies!

from ideas.

JasonEtco avatar JasonEtco commented on May 22, 2024

Yesss! This is a great idea, and definitely possible.

from ideas.

JasonEtco avatar JasonEtco commented on May 22, 2024

@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.

pvinis avatar pvinis commented on May 22, 2024

I've also been using pull. Works great, besides the notification spam :D
Screenshot 2019-06-21 at 15 00 33

from ideas.

 avatar commented on May 22, 2024

@pvinis that's a github problem. if . githbu source code was . open it . could more easily/faster resolvable.

from ideas.

 avatar commented on May 22, 2024

Would also be cool if github allowed forking complete organizations or accounts.

from ideas.

wei avatar wei commented on May 22, 2024

What is the use case? It can be done by pulling public repos and forking via API.

from ideas.

 avatar commented on May 22, 2024

@wei so forking orgas/users as an app? would be awesome

from ideas.

wei avatar wei commented on May 22, 2024

@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.

wei avatar wei commented on May 22, 2024

@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 avatar pvinis commented on May 22, 2024

@LemonAndroid

@pvinis that's a github problem. if . githbu source code was . open it . could more easily/faster resolvable.

what?

from ideas.

tekdeveloper avatar tekdeveloper commented on May 22, 2024

from ideas.

katrinleinweber avatar katrinleinweber commented on May 22, 2024

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)

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.