Skip to content

[scroll-animations] Migrate from WICG to CSSWG #4334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
majido opened this issue Sep 19, 2019 · 3 comments
Closed

[scroll-animations] Migrate from WICG to CSSWG #4334

majido opened this issue Sep 19, 2019 · 3 comments
Assignees

Comments

@majido
Copy link
Contributor

majido commented Sep 19, 2019

CSSWG resolved to move scroll-animations spec to csswg. This issue will track the work needed to migrate the repository and its issues.

@majido majido self-assigned this Sep 19, 2019
@majido
Copy link
Contributor Author

majido commented Sep 19, 2019

I plan to migrate the repository without losing any of the history. Git supports merging two unrelated repositories in a single commit which ensure the final commit carries both histories.

Merge

Most merge commits have a diamond shape where one side is branch from the main branch at some earlier point but it is possible to merge to branches that don't share an ancestor. This is what I am proposing to do here.

Here is the series of commands I will be using in csswg-drafts:

$ cd csswg-drafts
$ git remote add wicg git@github.com:WICG/scroll-animations.git
$ git fetch wicg
$ git checkout -b wicg wicg/master
$ mkdir scroll-animations-1
$ mv * scroll-animations-1/
$ git add .
$ git commit -m "Move to sub-directory in preparation to repo migration"
$ ... addition clean ups ...
$ git checkout master 
$ git merge --allow-unrelated-histories wicg

Additional clean up

Use correct name and URL in the spec and README

Remove redundant files:

  • .gitattributes
  • .gitignore
  • scroll-animations-1/CONTRIBUTING.md
  • scroll-animations-1/LICENSE.md
  • scroll-animations-1/deploy_key.enc
  • scroll-animations-1/index.html
  • scroll-animations-1/install-bikeshed.sh
  • scroll-animations-1/travis.sh
  • scroll-animations-1/w3c.json

majido added a commit that referenced this issue Sep 19, 2019
This migration is done via a special merge commit that includes
two unrelated git histories. This ensures we preserve the history
of edit from original specification. For more into see manual of
`git merge --allow-unrelated-histories` command.

The only changes to the scroll-animation repository content is
to move the content to scroll-animations-1 and remove a whole
bunch of unnecesary files.
majido added a commit that referenced this issue Sep 19, 2019
The file was incorrectly copied from wicg/scroll-animations
@majido
Copy link
Contributor Author

majido commented Sep 19, 2019

Content is migrated. I have started the discussion with w3c and wicg admins on the best way to migrate issues.

@majido
Copy link
Contributor Author

majido commented Sep 20, 2019

Issues have also been migrated! Migration is complete. \o/

@majido majido closed this as completed Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant