Comments (2)
GitHub's support for default branch renaming means that, in general, pull requests that target the default branch will be correctly re-targetted.
However, there are some edge cases, where this is not true. Some pull requests are automatically closed when the default branch is renamed and they cannot be re-opened. This happens when the PR-making branch, fork, or user no longer exists. (Literally, it appears to boil down to whether HEAD
of the PR branch is available for whatever behind-the-scenes magic is happening.)
There is 1 open pull request in this repo that is at risk of auto-closing:
A way to "rescue" the work on such a PR is described in isaacs/github#168 (comment). Here's the TL;DR:
If there is a PR displaying unknown repository after the fork was deleted, and you want to resurrect that PR, simply type:
git fetch origin refs/pull/123/head:foo
substituting (if necessary)
origin
for the remote pointing at the target repo, 123 for the PR number, andfoo
for the name of the local branch you want created to point to the head of the PR.Then you can simply
git checkout foo
... and resubmit a new one ....
message id: hardhearted_newt
from crancache.
This repo was selected for an early switch from master
to main
, to help refine our process for the larger effort. Thank you for your service!
When we scale this up to all ~350 repos, there will be a public announcement pointing to a blog post about this change, pointing out the usethis functions available to package maintainers and contributors to support default branch renaming.
In the meantime, this blog post is available in draft form and can be read here.
message id: exalted_aphid
from crancache.
Related Issues (20)
- Packages with space in version number break the cache HOT 4
- R 3.4.1 (macOS) is not caching downloaded binaries HOT 1
- Does not work on windows, because URL encoding messes up `\\` in the path HOT 2
- available_packages(): Error: invalid version specification '2.2.0 ' HOT 2
- readRDS() error from revdepcheck HOT 1
- CRAN release HOT 2
- `install_packages()` does not respect the `quiet` argument
- Can't access https://install-github.me/r-lib/crancache HOT 2
- Mac OS not caching HOT 1
- update_cache_binaries(): length(x) = 2 > 1' in coercion to 'logical(1) ERROR HOT 2
- download_packages() returns double-slashed path ("//home/hb/.cache/...")
- `install_deps` coordination? HOT 2
- ROBUSTNESS: Does crancache assume a single R version? HOT 1
- QUESTION: Update crancache when tarball has been lost?
- `available_packages()` potentially includes packages that were removed from CRAN
- crancache vs pkgcache HOT 1
- feature request for crancache_remove HOT 1
- Condition length error
- install_packages(): Force a re-install? [ANSWERED] HOT 1
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 crancache.