whyrusleeping / gx

A package management tool
MIT License
1.88k stars 110 forks source link

gx does not ignore all files that git does #120

Open wigy-opensource-developer opened 7 years ago

wigy-opensource-developer commented 7 years ago

I have recently tried to publish the go-ipfs sources to gx and had some hassles

In https://github.com/whyrusleeping/gx#ignoring-files-from-a-publish I read that gx publish ignores files that are ignored by git. An ipfs/go-ipfs repo contains around 56MB of binaries after some sharness tests are run. I had to git clean -x before publishing in order to avoid publishing those.

Probably gx should leave it to git status --ignored to check which files are not to be published?

Kubuxu commented 7 years ago

Right, AFAIK we use root directory only .gitignore but there are also ones in subdirectories.

Stebalien commented 6 years ago

Ideally, we'd do a clean checkout (with hardlinks).