#12350 Tarballs accidentally added to dist-git
Closed: Fixed with Explanation by jnsamyak. Opened by rjones.

Tarballs were accidentally added in these two dist-git repos:
https://src.fedoraproject.org/rpms/rust-futures-locks
https://src.fedoraproject.org/rpms/rust-rublk

rust-futures-locks isn't so bad as it's only 16K. The second one has two files 42K and 32M.

As these are newly created repos, someone with the appropriate access might squash a few commits together to remove these files from history.

==When do you need this to be done by? (YYYY/MM/DD)

No deadline, might not even be necessary to do anything.

@minlei2


This is tricky to do without a force push.

It is possible, we came up with some way to move them to a archive branch that doesn't get pulled normally. I'd have to look back to see the exact process.

Metadata Update from @kevin:
- Issue tagged with: low-gain, low-trouble, ops

I can see that this has happened before and was fixed [1] but there are no details about how.

[1] https://pagure.io/releng/issue/8579

This is how: https://pagure.io/releng/issue/7265#comment-652554

Metadata Update from @jnsamyak:
- Issue assigned to jnsamyak

Metadata Update from @jnsamyak:
- Issue untagged with: low-trouble
- Issue tagged with: medium-trouble

I tried doing it as per the commands mentioned by @churchyard; for the repo rpms/rust-futures-locks; Is there a way to verify it worked? Once we have this sorted, I'll try to write a quick sop for this and do it for the next package^

Metadata Update from @jnsamyak:
- Assignee reset
- Issue untagged with: medium-trouble
- Issue tagged with: low-trouble

Metadata Update from @jnsamyak:
- Issue assigned to jnsamyak

Metadata Update from @jnsamyak:
- Issue untagged with: low-trouble
- Issue tagged with: medium-trouble

I think it worked for both, but I'll keep it open it for folks to verify this!

For rust-rublk;

➜ git clone -n https://src.fedoraproject.org/rpms/rust-rublk.git
Cloning into 'rust-rublk'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 17 (delta 2), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (17/17), 85.02 KiB | 124.00 KiB/s, done.
➜   ~/work/build  cd rust-rublk 
➜   ~/work/build/rust-rublk git:(rawhide) ✗ git rev-list --objects --all | grep "\.crate\|\.tar.xz"
9d3404ca3e400c5296e2c8245173a003dea8e669 rublk-0.2.3.crate
a13b9c51ebf3830a239b022c6e86d1f91d2f7584 rublk-0.2.1.crate

Similarly, I did that for another package!

SOP for the same: https://pagure.io/infra-docs-fpo/pull-request/322

Marking this as fixed, if there are issues please feel free to reopen the ticket.

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

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

Metadata Update from @jnsamyak:
- Issue close_status updated to: Fixed

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

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

Metadata