arcgis-python-api
arcgis-python-api copied to clipboard
Reduce size of this repo
trafficstars
Discussing this topic on the public repo, so users can be aware of upcoming changes to the content structure
Is your feature request related to a problem? Please describe.
This public repository is now 5.4GB in size. An enormous size like this leads to a poor user experience when new users clone it, bloating of ArcGIS Docker Image and degraded performance for internal build systems. This issue proposes the following changes to reduce the repository size.
Total size:
(base) ➜ arcgis-python-api git:(master) du -hcs .
5.4G .
5.4G total
Size by subfolder:
(base) ➜ arcgis-python-api git:(master) du -hs * | sort -rg
639M apidoc
467M samples
292M static
285M guide
244K misc
76K items_metadata.yaml
16K tools
16K notebooks
12K update_items.py
12K LICENSE
6.2M labs
4.0K environment.yml
4.0K README.md
4.0K PULL_REQUEST_TEMPLATE.md
4.0K CONTRIBUTING.md
4.0K CODE_OF_CONDUCT.md
Describe the solution you'd like We could do a combination of a few things to reduce the size:
Short term
- [ ] Delete stale branches. Actively delete branches once changes are merged. This should improve performance on new clones.
- [ ] Move API ref files to a public file share. Needs to be explored
- [ ] Introduce a 'Download' button on the API ref hosting site which allows users to download an archive of the API ref.
Long term
- [ ] Edit notebooks that reference data from a local
./datafolder such that they publish data as an Item on AGO and download and use it locally. - [ ] Edit
.gitignoreto ignore such local download / scratch folders.