I want to add a small file to an existing tar arch...
# test-data
m
I want to add a small file to an existing tar archive in the test-datasets, but git is refusing my push (size delta is -5mb, so 5mb less than the original file). What do I do?
archive is 36mb
j
I think the max is 10MB... but I thought that was just via the interface 🤔 I thought pushing locally was 100 MB... so that's worrying...
What is the error messagE?
m
Copy code
➜  bcl git:(fix/bcl_flowcell) git push --set-upstream origin fix/bcl_flowcell
Enumerating objects: 14, done.
Counting objects: 100% (14/14), done.
Delta compression using up to 8 threads
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 35.60 MiB | 6.96 MiB/s, done.
Total 8 (delta 5), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (5/5), completed with 5 local objects.
remote: error: GH013: Repository rule violations found for refs/heads/fix/bcl_flowcell.
remote: Review all repository rules at <https://github.com/nf-core/test-datasets/rules?ref=refs%2Fheads%2Ffix%2Fbcl_flowcell>
remote:
remote: - Cannot create ref due to creations being restricted.
remote:
To <http://github.com:nf-core/test-datasets.git|github.com:nf-core/test-datasets.git>
 ! [remote rejected] fix/bcl_flowcell ->
I’m thinking it’s a repo rule
j
Odd...
image.png
@mashehu any idea?
Can you push to a fork instead @Matthias De Smet?
and open a PR from there?
m
Thanks for the review @James Fellows Yates
j
you're welcome
m
I’ve got a fix for the fix 😓 https://github.com/nf-core/test-datasets/pull/1886 Care to review that one too?