← Back to team overview

influxdb-charmers team mailing list archive

Removing objects from InfluxDB charm git repo

 

Hi all,

Early versions of this charm contain packaged .deb files for InfluxDB,
along with tar.gz archives of Python dependencies.

Since the charm was rebuilt to be reactive in
https://git.launchpad.net/influxdb-charm/tree/?id=dce1ce5fb72c454e80ce9a192ceef8f920759e12
- the binary objects aren't used and are taking up space in the repository.

I'm going to remove the files from the repository, which will mean any
of your local changes will need rebasing or reworking.

Commands to be run are:

git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch
files/*.deb files/*.tar.gz' --prune-empty -- --all
rm -rf .git/refs/original/
git reflog expire --expire=now --all
git gc --aggressive --prune=now
git repack -A -d

And then I'll update the readme and force push to the repository.

Cheers, Jamon