-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dbhub: When pushing a database, save the new commit id and/or the file
When pushing a local database to the remote server, the new commit id is returned. Grab that id and insert it into the database of local checkouts. If there already is an entry for the given file, update that record. When doing an initial push of a database, also copy the source database file to our checkout directory to avoid redownloading the file upon first use. This should eliminate all unnecessary database downloads, both after doing the initial push and after committing a modified database.
- Loading branch information
1 parent
8c0e4bf
commit c692ae0
Showing
2 changed files
with
89 additions
and
50 deletions.
There are no files selected for viewing
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
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