sapling/tests/integration
Thomas Orozco 7f0e3eb64b mononoke: create scratch bookmarks from B2xInfinitepush
Summary:
This updates our receive path for B2xInfinitepush to create new scratch bookmarks.

Those scratch bookmarks will:

- Be non-publishing.
- Be non-pull-default.
- Not be replicated to Mercurial (there is no entry in the update log).

I added a sanity check on infinite pushes to validate that bookmarks fall within a given namespace (which is represented as a Regexp in configuration). We'll want to determine whether this is a good mechanism and what the regexp for this should be prior to landing (I'm also considering adding a soft-block mode that would just ignore the push instead of blocking it).

This ensures that someone cannot accidentally perform an infinitepush onto master by tweaking their client-side configuration.

 ---

Note that, as of this diff, we do not support the B2xInfinitepushBookmarks part (i.e. backup bookmarks). We might do that separately later, but if we do, it won't be through scratch Bookmarks (we have too many backup bookmarks for this to work)

Reviewed By: StanislavGlebik

Differential Revision: D15364677

fbshipit-source-id: 23e67d4c3138716c791bb8050459698f8b721277
2019-05-30 07:14:32 -07:00
..
third_party Unify dummyssh with Mercurial 2019-05-28 03:16:33 -07:00
integration_runner.py mononoke: integration runner: a more proper fix 2019-05-29 08:23:54 -07:00
library.sh mononoke: create scratch bookmarks from B2xInfinitepush 2019-05-30 07:14:32 -07:00
pushrebase_replay.bundle mononoke: add tests for pushrebase replay 2019-02-05 15:08:29 -08:00
test-admin-hg-sync-bundle-last-processed.t tests: add Mononoke integration test target 2019-05-29 01:30:24 -07:00
test-admin-hg-sync-bundle-remains.t tests: add Mononoke integration test target 2019-05-29 01:30:24 -07:00
test-admin-hg-sync-bundle-verify.t tests: add Mononoke integration test target 2019-05-29 01:30:24 -07:00
test-alias-verify.t mononoke: change the way file content blobs are hashed 2019-01-17 02:33:35 -08:00
test-allowed-users.t tests: add Mononoke integration test target 2019-05-29 01:30:24 -07:00
test-apiserver-edenapi.t edenapi: make fetch commands return metrics 2019-05-22 13:02:59 -07:00
test-apiserver.t Delete unused endpoints 2019-05-28 13:01:02 -07:00
test-blobimport-inline.t move to the same hg tests runner that is used by hg 2019-01-30 07:29:53 -08:00
test-blobimport-return-error.t mononoke: cleanup tests 2018-12-11 09:48:02 -08:00
test-blobimport.t mononoke: cleanup tests 2018-12-11 09:48:02 -08:00
test-bonsai-verify.t mononoke: fix tests 2019-01-14 04:41:24 -08:00
test-bookmark-hg-kind.t mononoke: support non-publishing / non-pull_default Bookmarks 2019-05-30 07:14:32 -07:00
test-bookmark-race.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-bundle2-preservation.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-cache-warmup.t mononoke: cleanup tests 2018-12-11 09:48:02 -08:00
test-clienttelemetry.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-commitcloud.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-copyrename.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-getpackv1.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-gettreepack.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-hash-validation.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-hooks.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-inconsistent-hash.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-infinitepush-disabled.t mononoke: create scratch bookmarks from B2xInfinitepush 2019-05-30 07:14:32 -07:00
test-infinitepush.t mononoke: create scratch bookmarks from B2xInfinitepush 2019-05-30 07:14:32 -07:00
test-init.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-large-path-and-content.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-lfs-to-mononoke.t Fix up confusion between description and long_description in hooks 2019-05-29 11:34:26 -07:00
test-lfs-upload-alias-on-fetch.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-lfs.t codemod: import from the edenscm package 2019-01-29 17:25:00 -08:00
test-linknodes.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-listkeyspatterns.t tests: add Mononoke integration test target 2019-05-29 01:30:24 -07:00
test-lookup.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-mononoke-hg-sync-job.t mononoke: hg sync job: capture hg error output 2019-05-30 06:27:58 -07:00
test-multiplexed-blobstore.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-push-bookmarks.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-push-newblobimport.t mononoke: cleanup tests 2018-12-11 09:48:02 -08:00
test-push-protocol.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-push-readonly.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-pushrebase-block-merges.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-pushrebase-copy-src-changed.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-pushrebase-discovery.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-pushrebase-emit-obsmarkers.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-pushrebase-empty.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-pushrebase-file-list.t mononoke: fix computing of changed files 2019-03-08 06:28:49 -08:00
test-pushrebase-mutation.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-pushrebase-per-head-config.t mononoke: add bookmark config to disable pushrebase date rewrite 2019-05-21 12:25:55 -07:00
test-pushrebase.t mononoke: fix integration test .t files 2019-05-29 01:00:53 -07:00
test-rename-in-merge.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00
test-server.t tests: provision fb identity in to testing certificates 2019-05-21 12:25:19 -07:00
test-sqlblob.t Add flag for disabling session output 2019-05-23 13:22:34 -07:00