#7761 delete ostree refs: fedora/29/x86_64/workstation and fedora/rawhide/x86_64/workstation
Closed: Fixed 2 years ago Opened 2 years ago by walters.

See https://pagure.io/workstation-ostree-config/pull-request/102

I'd vote we just delete the refs:
ostree --repo=/path/to/repo refs --delete fedora/{29,rawhide}/x86_64/workstation

We can also alias rawhide, but eh, doesn't seem worth it to me.


We can also alias rawhide, but eh, doesn't seem worth it to me.

I think it's worth it so that people who are currently on rawhide and aren't paying attention don't stop getting updates. The following commands run on composer.phx2.fedoraproject.org should do the trick:

# cd /mnt/koji/atomic/repo/
# 
# sudo ostree refs --delete fedora/29/x86_64/workstation
# sudo ostree refs --delete fedora/rawhide/x86_64/workstation
# sudo ostree refs --alias --create=fedora/rawhide/x86_64/workstation fedora/rawhide/x86_64/silverblue
# 
# sudo ostree summary -u 

This would be very nice to have for f29.
The extra refs are bound to cause a lot of confusion among our users otherwise.

@mohanboddu - do you think you could help us with this ?

Done.

[mohanboddu@compose-x86-01 ~][PROD]$ cd /mnt/koji/atomic/repo/
[mohanboddu@compose-x86-01 repo][PROD]$ sudo ostree refs --delete fedora/29/x86_64/workstation
[mohanboddu@compose-x86-01 repo][PROD]$ sudo ostree refs --delete fedora/rawhide/x86_64/workstation
[mohanboddu@compose-x86-01 repo][PROD]$ sudo ostree refs --alias --create=fedora/rawhide/x86_64/workstation fedora/rawhide/x86_64/silverblue
[mohanboddu@compose-x86-01 repo][PROD]$ sudo ostree summary -u

Metadata Update from @mohanboddu:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

somehow the fedora/29/x86_64/workstation ref got created again. Let's delete it:

# cd /mnt/koji/atomic/repo/
# 
# sudo ostree refs --delete fedora/29/x86_64/workstation

Let's also do the same thing for the compose repo:

# cd /mnt/koji/compose/atomic/repo/
# 
# sudo ostree refs --delete fedora/29/x86_64/workstation

Metadata Update from @dustymabe:
- Issue status updated to: Open (was: Closed)

2 years ago

Done.

Also, I looked if they got created by the testing RC compose we ran on last Fri, but they are not. The one in /mnt/koji/atomic/compose is created on Sep 28th. So probably something synced it from compose repo. Now that is also deleted, lets hope it wont happen again.

Metadata Update from @mohanboddu:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata