[ 
https://issues.apache.org/jira/browse/SOLR-14762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298750#comment-17298750
 ] 

Dawid Weiss commented on SOLR-14762:
------------------------------------

Work log:
{code}
# Check out a clean lucene-solr repo:

git clone https://git-wip-us.apache.org/repos/asf/lucene-solr.git

# Run a check (without tests)

./gradlew help
./gradlew check -x test

# Clean everything to pristine state.

git clean -xfd .

# Split point: 7ada4032180b5 (master)

git co 7ada4032180b5 -b lucene/main
git co 7ada4032180b5 -b solr/main

# Push mains to origin

git push origin lucene/main -u
git push origin solr/main -u

# Wipe the master branch of all files, leave license and readme only.

# Push clone mirrors

git push --mirror https://gitbox.apache.org/repos/asf/lucene.git
git push --mirror https://gitbox.apache.org/repos/asf/solr.git

# The above failed with http error.
# A retry via github only pushed master ref. Retry with a bare repo clone:

git clone --bare https://git-wip-us.apache.org/repos/asf/lucene-solr.git
cd lucene-solr.git
git push --mirror g...@github.com:apache/lucene.git
git push --mirror g...@github.com:apache/solr.git

# Create main branches in each repository
git clone g...@github.com:apache/lucene.git
cd lucene
git co origin/lucene/main -b main
git push origin main -u

git clone g...@github.com:apache/solr.git
cd solr
git co origin/solr/main -b main
git push origin main -u

# Wipe branch_8x on each independent repository so that there is no confusion 
where branch_8x dev. takes place.

# Add a note to switch to 'main' branch on master's readme.md
{code}

> Fork the git repo into two new 'lucene' and 'solr'
> --------------------------------------------------
>
>                 Key: SOLR-14762
>                 URL: https://issues.apache.org/jira/browse/SOLR-14762
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Jan Høydahl
>            Assignee: Dawid Weiss
>            Priority: Major
>
> Existing git repo (and GitHub project) will be frozen and two new repos used 
>  # Announce on all lists a date when the lucene-solr git repo will be frozen
>  This date should be e.g. 14 days in the future to allow in-flight commits 
> and PRs to be pushed
>  # At the freeze date, make a last commit adding a big announcement to 
> README.md about the location of the new repositories, then make both asf-git 
> and github R/O
>  # Clone 'lucene-solr' into new 'lucene' and 'solr' git repos
> Then continue with separate LUCENE and SOLR jiras to prepare the new repos, 
> builds etc
> 1. https://gitbox.apache.org/repos/asf/lucene.git
> 2. https://gitbox.apache.org/repos/asf/solr.git



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to