Comments (5)
We could (and probably should) remove then also from the history using git filter-repo
or bfg
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository
from atomdb.
Also in relation to this change (separating package from DB) I think we should consider removing the db folders in this repository (or at least the content in them) from being tracked by git.
@msricher , @marco-2023 what do you think?
from atomdb.
The commit d75f912 removed the Slater DB files from datasets/slate/db
from atomdb.
I uploaded a copy of the AtomDB repo, with old db files removed from the git history: https://github.com/msricher/AtomDB_clean
I'll document what I did here. This makes use of the git-filter-repo
package (at least that's the name on Arch).
git log --all --name-only --pretty=format:%H -- ^'*.msg' | grep -E '*.msg$' > msg_files
lists all of the files matching^*.msg
, by commit. There may be some duplicates due to multiple commits modifying the same files but that doesn't matter. I filtered out the lines containing the commit hashes withgrep
, and wrote everything to the filemsg_files
.for i in $(cat msg_files | xargs); do git filter-repo --invert-paths --path "$i"; done
removes each of the files matched above from the git history.
Before I force-push this over the main repo, would either of you verify that the result in my repo looks correct? @gabrielasd @marco-2023
from atomdb.
This issue has been resolved as indicated by Michelle.
from atomdb.
Related Issues (20)
- NIST dataset HOT 1
- GitHub Actions Testing Failing HOT 4
- Change Atom class to an Element class in periodic module HOT 1
- AtomDB has iodata, grid, gbasis and pyci as dependencies. HOT 1
- Compile NIST database HOT 8
- Windows builds failing HOT 1
- Missing mass values for elements 96-118 HOT 3
- Compile HF numeric DB HOT 1
- [Doc] Improve species module docstrings HOT 2
- [Doc] Improve documentation of promolecule module HOT 1
- Fixing Jupyter Notebooks HOT 3
- Compilation Slater DB failed cases HOT 4
- Compilation NIST failed cases HOT 3
- Errors while generating documentation with sphinxs HOT 1
- Promolecules with fractional charges and default multiplicity fail
- Compilation Gaussian excited state cases HOT 3
- Ubuntu Python 3.7 build failing HOT 6
- Atomic Static Dipole Polarizabilities HOT 3
- Wrong Link on Website HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atomdb.