question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create pull requests for all paket users on github

See original GitHub issue

@vbfox created the following statement

"1524 projects have files that are either paket or it’s bootstrapper in standard positions https://docs.google.com/spreadsheets/d/19Th3rRWBIoFxlBpbuDQ9QSd7tlJ05Fibq7VFH9h52mE/edit#gid=1315769600 Of theses 590 had commits after 2017-01-01: https://docs.google.com/spreadsheets/d/1m6Qu_lEy1LQYKoBpKA9HVMvMvIRQj70mdf1pfaA3S0A/edit#gid=63915918

Thanks google bigquery 🙂 Family time now but if someone wants to auto-create PRs it’s a start."

SELECT
  MAX(committer.date) AS last_commit,
  individual_repo_name
FROM
  `bigquery-public-data.github_repos.commits`,
  UNNEST(repo_name) AS individual_repo_name
WHERE
  individual_repo_name IN (
  SELECT
    DISTINCT repo_name
  FROM
    `bigquery-public-data.github_repos.files` AS f
  WHERE
    ((path = '.paket/paket.bootstrapper.exe')
      OR (path = '.paket/paket.exe')
      OR (path = 'paket.exe')) )
  AND committer.date > '2017-01-01'
GROUP BY
  individual_repo_name
ORDER BY
  MAX(committer.date) DESC

So all these projects need the patch in https://github.com/fsprojects/Paket/pull/3066

What we need to do:

For each of the repos we need to replace the bootstrapper with 5.142

If the repo uses it as paket.bootstrapper.exe then we just need to replace it. If they have a paket.exe then we copy paket.bootstrapper.exe over their existing paket.exe and call it paket.exe (magic mode)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
shiftkeycommented, Feb 25, 2018

@forki I’ve put together a rough script to do all this over in https://github.com/shiftkey/paket-upgrader, and you can see it in action here: https://github.com/TeaDrivenDev/StatusPotentiae/pull/1

0reactions
forkicommented, Feb 28, 2018

cool stuff. After small test I tried to run it on repositories.txt but two things:

a) everything in parallel seems to be an issue b) I assume it hit rate limit —> no pull request created

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a pull request
To create a pull request that is ready for review, click Create Pull Request. To create a draft pull request, use the drop-down...
Read more >
Marketplace Actions Create Pull Request
Creates a pull request for changes to your repository in the actions ... Commit all changes to a new branch, or update an...
Read more >
Creating a pull request - GitHub Enterprise Server 3.7 Docs
Create a pull request to propose and collaborate on changes to a repository. These changes are proposed in a branch, which ensures that...
Read more >
Pull requests documentation
Learn how to use pull requests to suggest changes to a project, receive suggested changes to your own projects, and address issues in...
Read more >
Creating a pull request template for your repository
Adding a pull request template · On GitHub.com, navigate to the main page of the repository. · Above the list of files, select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found