sapling/infinitepush
Luke Petre 0b56f3786a infinitepush: write infinitepush backup status
Summary:
  - change the infinitepush extension to record additional state when the a backup occurs.
  - useful for other tools (scm-prompt, nuclide) to indicate when a backup hasn't occurred recently

Test Plan:
  - cd facebook-hg-rpms/
  - source hg-dev
  - cd fb-hgext
  - arc unit

Reviewers: rmcelroy, stash

Reviewed By: stash

Subscribers: rmcelroy, medson, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D5321221

Tasks: 18349390

Signature: t1:5321221:1501271966:6698785e0714e3ecf7e1e2684d1e62e52ac0f1a0
2017-08-02 16:42:08 +01:00
..
__init__.py infinitepush: write infinitepush backup status 2017-08-02 16:42:08 +01:00
backupcommands.py infinitepush: write infinitepush backup status 2017-08-02 16:42:08 +01:00
bundleparts.py infinitepush: re-enable lfs support 2017-07-20 01:14:35 -07:00
common.py infinitepush: add debugfillinfinitepushmetadata method 2017-06-15 05:19:37 -07:00
fileindexapi.py infinitepush: put metadata fill in wlock 2017-07-17 04:02:43 -07:00
indexapi.py infinitepush: add debugfillinfinitepushmetadata method 2017-06-15 05:19:37 -07:00
infinitepushcommands.py infinitepush: add metadatafilelimit option 2017-06-19 01:27:31 -07:00
README infinitepush: sample implementation 2016-08-26 06:09:01 -07:00
schema.sql infinitepush: update schema 2017-06-15 02:36:40 -07:00
sqlindexapi.py infinitepush: implement saveoptionaljsonmetadata for sqlindexapi 2017-06-19 01:27:31 -07:00
store.py infinitepush: fix string formatting 2017-02-03 07:10:53 -08:00

## What is it?

This extension adds ability to save certain pushes to a remote blob store
as bundles and to serve commits from remote blob store.
The revisions are stored on disk or in everstore.
The metadata are stored in sql or on disk.

## Config options

infinitepush.branchpattern: pattern to detect a scratchbranch, example
                            're:scratch/.+'

infinitepush.indextype: disk or sql for the metadata
infinitepush.reponame: only relevant for sql metadata backend, reponame to put in
                       sql

infinitepush.indexpath: only relevant for ondisk metadata backend, the path to
                        store the index on disk. If not set will be under .hg
                        in a folder named filebundlestore

infinitepush.storepath: only relevant for ondisk metadata backend, the path to
                        store the bundles. If not set, it will be
                        .hg/filebundlestore