-
Notifications
You must be signed in to change notification settings - Fork 452
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
De bloat seed data #141
Open
ajdemarco95
wants to merge
222
commits into
strapi:master
Choose a base branch
from
ajdemarco95:de-bloat-seed-data
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
De bloat seed data #141
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Alexandre Bodin <[email protected]> Former-commit-id: 2351f6e
Signed-off-by: Alexandre Bodin <[email protected]> Former-commit-id: bd6a06f
Upgrade to beta.20 Former-commit-id: f71a3b3
Signed-off-by: soupette <[email protected]> Former-commit-id: 0f2a0be
Signed-off-by: soupette <[email protected]> Former-commit-id: ac69931
Change logo Former-commit-id: 12942aa
Former-commit-id: 4b1c296
Upgrade to the stable version Former-commit-id: b818fec
Former-commit-id: 1b0a431
Update Strapi version to 3.0.5 Former-commit-id: 5237dfb
Signed-off-by: Pierre Burgy <[email protected]> Former-commit-id: e8a3870
Signed-off-by: Pierre Burgy <[email protected]> Former-commit-id: 7235c41
Signed-off-by: Pierre Burgy <[email protected]> Former-commit-id: b07acc0
Signed-off-by: Pierre Burgy <[email protected]> Former-commit-id: 90d57ce
Signed-off-by: Pierre Burgy <[email protected]> Former-commit-id: 71fc4b2
Update 3.1.0 Former-commit-id: 5dcfe03
Signed-off-by: Pierre Burgy <[email protected]> Former-commit-id: bf8a27f
Update dump with new administrator fields Former-commit-id: 7709702
Signed-off-by: Alexandre Bodin <[email protected]> Former-commit-id: 2096b0c
Former-commit-id: 16e364d
Former-commit-id: 7c9502a
Former-commit-id: a413a11
Former-commit-id: c938a53
Signed-off-by: Jim LAURIE <[email protected]> Former-commit-id: 74b25ad
Signed-off-by: Jim LAURIE <[email protected]> Former-commit-id: d5e4a17
Update version 3.1.3 and fix issue 51 Former-commit-id: b2b5d67
Former-commit-id: 741467b
Former-commit-id: 9293320
Former-commit-id: a24d213
…nt-component Chore: remove internal comment compo Former-commit-id: bed4a05
Former-commit-id: c1dde48
Former-commit-id: eef554a
Former-commit-id: 373d275
Upgrade to 4.6.1 Former-commit-id: fa7cf6b
Former-commit-id: a393f83
Add: strapi/plugin-seo Former-commit-id: f770123
Former-commit-id: 72611ef
Former-commit-id: 3af0b5b
Fix localhost fetch issue Former-commit-id: c70e735
Chore: Add Strapi Cloud navlink Former-commit-id: 03222f6
Former-commit-id: 58811bb
Former-commit-id: 4bcc054
Former-commit-id: 1450f3a
Former-commit-id: cbb68f2
Former-commit-id: 159a414
Former-commit-id: 903ee4d
Former-commit-id: c503a3e
Former-commit-id: 08319af
…improvements Update: a lot of things Former-commit-id: 5413963
Former-commit-id: 5aa453f
Former-commit-id: 7d0ea15
Upgrade: Strapi 4.13.5 Former-commit-id: dc5b054
Former-commit-id: 726ae6d
Former-commit-id: 4762b37
This example app is not well suited for Strapi Cloud in it's current form Former-commit-id: b8fb391
Remove Strapi Cloud from readme Former-commit-id: 16b5b87
Change nvm version to be compatible with required libraries. Former-commit-id: ceb9ace
Add: PR template Former-commit-id: ba9fdae
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does it do?
There is a seed file in the repo (api/data.zip) which has been included in countless commits over the years this repo has existed. Unfortunately, the file size of this zip + previous versions of it that are still stored have caused the initial clone of this repo to be >500mb download size. This PR de-bloats the repo for faster download times by removing the older versions of the seed data from the repo's commit history.
This modification de-bloats the initial repo download from ~500mb -> ~73mb
To do this I used BFG Repo-Cleaner
Why is it needed?
The repo was taking too long to download, and the older versions of data.zip are likely no longer required for the purpose of the repo.
How to test it?
Just clone the repo and you will see. No other internals of the application or code have been modified.
Below are listed every action that should be possible within the application.
Content Manager
Article
List view:
Entry view:
Page
Entry view:
Plugins
Content-type Builder
Media Library
Settings
Related issue(s)/PR(s)
#129