Skip to content
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

The Big Rename #1

Merged
merged 7 commits into from
Jul 18, 2023
Merged

The Big Rename #1

merged 7 commits into from
Jul 18, 2023

Conversation

jku
Copy link
Member

@jku jku commented Jul 18, 2023

Rename repository-playground to tuf-on-ci

  • renamed variable and class names
  • renamed directories
  • renamed packages/modules
  • renamed the signer configuration file
  • renamed custom metadata field names
  • added a tiny development doc
  • fixed the ci workflow for the new paths

Notes:

  • I have not tried to test this yet: I think we can merge this, and a similar PR to the template repo and then test on main
  • this will require many changes in the repositories that want to upgrade from playground to this -- I will consider a "import script" after the basics are working

jku added 3 commits July 18, 2023 12:53
playground -> tuf-on-ci

* variable and class names
* directories
* packages/modules
* the signer configuration file
* custom metadata field names

This is very incompatible with any existing repositories.
It may be possible to create a playground2tuf-on-ci import script but
this is not included here.

Also remove the downloader client code for now -- We should have an
example but
A) it should be clearly an example, not part of the code release
B) the old code had a lot of unrelated things
File locations have changed compared to repository-playground
@jku jku requested a review from lukpueh July 18, 2023 10:01
@jku
Copy link
Member Author

jku commented Jul 18, 2023

Annoyingly I would need to add extra permissions to the CI workflow to get it to run on a private repo.

EDIT: fixed by adding the permission: I think it's appropriate

@jku
Copy link
Member Author

jku commented Jul 18, 2023

related template PR theupdateframework/tuf-on-ci-template#1

jku added 2 commits July 18, 2023 13:30
This is by default on for public repos but not for private ones
@kommendorkapten
Copy link
Member

Going over the files now. Started with a quick grep(1):

kommendorkapten@m1m14:~/git/tuf-on-ci % find . -type f | xargs grep -i playground
./LICENSE:Copyright 2022-2023 repository-playground contributors
./README.md:[example](https://github.com/jku/test-repo-for-playground/) for an instance running TUF-on-CI.
./repo/test/test_repo1/root.json:    "x-tuf-on-ci-keyowner": "@playgrounduser1"

@kommendorkapten
Copy link
Member

So I believe the LICENSE file should be updated too in this PR.

@kommendorkapten
Copy link
Member

Tests came out clean:

kommendorkapten@m1m14:~/git/tuf-on-ci/tests % ./e2e.sh
Basic repository initialization... OK
Online version bump... OK
Multiuser signing... OK
Target file changes... OK
Root key rotation... OK

@jku
Copy link
Member Author

jku commented Jul 18, 2023

So I believe the LICENSE file should be updated too in this PR.

If you're referring to the copyright notices, I think they're correct: the code is copyright repository-playground contributors even if it has been moved to the tuf-on-ci repo...

Let me know if you meant something else

@jku
Copy link
Member Author

jku commented Jul 18, 2023

I'll merge: I'm sure there are still issues but system testing will be a lot easier after the merge

@jku jku merged commit 4550cd5 into main Jul 18, 2023
2 checks passed
@jku jku deleted the rename branch March 5, 2024 12:11
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

Successfully merging this pull request may close these issues.

2 participants