-
Notifications
You must be signed in to change notification settings - Fork 17
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
LFS quota exceeded #323
Comments
Hi @idavydov , Thank you for brining this up! Yes, the files are not needed anymore. Please go ahead. For everyone's reference, the ones we still need are now here: https://zenodo.org/record/4441679 Best |
hi @hatjek , I tried rewriting the history using this command:
and it seems to work fine. see here Regarding other large files, it's mainly large files
some of these notebooks are small in the current master, but some are not. I can do more cleanups while i'm at it, but it doesn't make too much sense with this huge notebooks still present in the current version. e.g., this one doesn't even render for me anymore. ![]() |
I think the solution could be something like jupytext. In this case, only the source code of the notebook is stored in the repository, and the actual notebook is available via github pages. But I never done this in practice, and it might be quite some work to implement. |
I think we should clear the notebooks before submitting them to git. This might be a good solution: |
Sure, but then you lose all the cell output. Is that ok for how are you intended to use jupyter notebooks? |
Yes. I think they are compiled for the documentation using gh-pages, see https://github.com/bedapub/besca/tree/gh-pages/tutorials |
Hi @hatjek is right. This is needed for the documentation. |
Hi @hatjek , So as far as I understand the contents of the cells is needed for converting notebooks to htmls. What would be your suggestion then? I go ahead with cleaning up only LFS references? Best, |
Hi Iakov, I think this would be the best option. We can also have a look
together.
Cheers
Manuel
…On Mon, Sep 11, 2023 at 10:09 AM Iakov Davydov ***@***.***> wrote:
Hi @hatjek <https://github.com/hatjek> ,
So as far as I understand the contents of the cells is needed for
converting notebooks to htmls.
What would be your suggestion then? I go ahead with cleaning up only LFS
references?
Best,
Iakv
—
Reply to this email directly, view it on GitHub
<#323 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJF666UNOTZXWKEFJUZKYTXZ3BNHANCNFSM6AAAAAA4FTOVJM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @hatjek , We had a brief chat with @kohleman. Full cleanup is possible, but this would require changes in how documentation is generated. Basically, all notebooks needs to be rendered via github CI. In theory should be something like this. That's definitely doable, but requires substantial amount of work from someone actively working with besca. There are two options now:
What would be your preferred option? Best, |
Dear @idavydov , |
Sorry for the delay, this was less pressing for me since I managed to find a way not to use LFS for my project. I tested this again, seems to work fine (see here) Shall I go ahead and force push?
If someone forgets to do this, the files will reappear in history. Best, |
Hi @idavydov , Yes, I think we should go ahead. My understanding is that only pull requests from an old clone would disrupt the cleanup. Can we introduce stricter rules for pull requests (currently, 1 review is required, but I think it can easily overruled)? And would it help to create a new "main" branch (instead of "master") as default? Best |
Hi @hatjek , We can make >1 reviews. And I think changing the default branch is a great idea. Let me try that. If we see that this didn't affect the quota (because whatever is pulling Best, |
complete |
I now also converted the old |
Great, thanks a lot!! |
apparently it didn't work and we still have problems with the quota |
So I think here's what happens. We still have branches and tags which reference An approach to fix it would be to: Find all the tags and branches referencing bad commits:
branches.txtremotes/origin/20230417-David-stdwfFormat remotes/origin/SigUpdata_PCS remotes/origin/certifi remotes/origin/crispr remotes/origin/docs_action remotes/origin/pcs_fix_hvg remotes/origin/s3 remotes/origin/swalpe-patch-celltypes remotes/origin/workflow_experiments tags.txt2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.4 2.4.5 2.4.6 2.5 2.5.1 2.5.2 2.5.3 archive/master Save information about current tags
full_tag_info.txt2.2!2020-08-07 17:18:37 +0200!Alice Julien-Laferriere !Merge branch 'master' of https://github.com/bedapub/besca 2.2.1!2020-05-18 15:09:26 +0200!Jitao David Zhang !version 2.1.1, depending on Scanpy 2.8 2.2.2!2020-05-18 15:39:56 +0200!Jitao David Zhang !the previous version led to failed installation, now it is fixed 2.2.3!2020-05-19 11:31:02 +0200!Jitao David Zhang !rename the directory 'Import' to 'import' to be consistent with other directories 2.2.4!2020-05-19 13:37:53 +0200!Jitao David Zhang !Revert "rename the Import directory to import, which is consistent with other packages" 2.2.5!2022-03-03 10:53:06 +0100!Jitao David Zhang !clean workbook after running them successfully 2.3!2020-11-24 15:44:46 +0100!Alice JL <[email protected]>!Merge pull request #111 from bedapub/Update-Documentation 2.4!2021-02-19 13:53:19 +0100!Alice JL <[email protected]>!Merge pull request #139 from bedapub/Update-Documentation 2.4.5!2022-06-14 14:13:52 +0200!Jitao David Zhang !logging.info uses %d formatting strings 2.4.6!2022-06-17 10:41:27 +0200!Jitao David Zhang !remove dependency on Accio 2.5!2022-09-15 13:38:00 +0200!Manuel Kohler !minor: removed typo 2.5.1!2022-09-19 09:08:55 +0200!Manuel Kohler !Merge pull request #257 from bedapub/dependabot/pip/devtools/oauthlib-3.2.1 2.5.2!2022-10-20 14:43:33 +0200!Manuel Kohler !Merge pull request #261 from bedapub/260-homologs-folder-is-not-installed 2.5.3!2022-11-10 16:26:33 +0100!hatjek !Merge pull request #264 from bedapub/hatjek-patch-1 Delete all the tags (locally)
Remap tags to the new history
Delete remote branches and overwrite tagsThis has not been done, yet; but let me know if ok with everyone. |
Hi @idavydov, |
hi @hatjek , Yes, all branches in |
OK, sounds good to me. Just check back with the branch "owners" if they can be deleted. |
hi @hatjek @kohleman @Accio @marlisese @swalpe In an effort to circumvent LFS quota issues affecting the bedapub space, I would like to perform a cleanup. To perform this clean-up I'd need to delete branches which still reference old commits which include LFS files. Here's the list of branches:
All of these branches were classified as stale and have either been merged or haven't been updated for a year or more. Could you please:
Thanks |
|
The ones with pcs and swalpe can also be deleted.
Thanks a lot!
P
…On Fri, 15 Mar 2024, 15:39 hatjek, ***@***.***> wrote:
s3 can be deleted. Thank you!
—
Reply to this email directly, view it on GitHub
<#323 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOXW6TH66IWAAXCBMCS2ZP3YYMB23AVCNFSM6AAAAAA4FTOVJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJZHAYDSNZUGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi all,
Besca contains references to some LFS files. As far as I understand, when someone git clones the repo, LFS files are also pulled.
We currently are over bandwidth, which means that none of the bedapub projects can push LFS files. The error I was getting:
As far as I understand, these files are only in history and are now stored elsewhere.
What I propose currently is to rewrite history and remove all the references to those files. The upside of this is that in one month LFS hopefully will be usable again. They will be still in the storage, but at least bedapub will have 700 Mb for other projects to use.
When history is rewrited, one should make sure to clone the repository again, otherwise there's a risk to accidentally push large files again.
An alternative solution would be to get budget for LFS.
What do you think?
CC @hatjek @kohleman @swalpe
Here's the list of references:
quota usage
The text was updated successfully, but these errors were encountered: