Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReposVerb: allow registering vanilla Git repos #258

Closed
wants to merge 23 commits into from
Closed

ReposVerb: allow registering vanilla Git repos #258

wants to merge 23 commits into from

Commits on Dec 20, 2019

  1. Move TryRegisterRepo to ScalarVerb

    Signed-off-by: Derrick Stolee <stolee@gmail.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    cf6ad76 View commit details
    Browse the repository at this point in the history
  2. WatchVerb: allow watching vanilla Git repos

    This also allows re-registering Scalar repos if they somehow become
    unregistered. (We will follow-up with a way to un-watch later.)
    
    The only required update to the maintenance steps right now is to
    make the fetch-commits-and-trees step be a no-op for non-Scalar
    repos. Eventually, we will want that to run a "git fetch" (in a
    way that does not update the refs/remotes space).
    
    Signed-off-by: Derrick Stolee <stolee@gmail.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    ad16d1a View commit details
    Browse the repository at this point in the history
  3. Document the Watch verb

    Signed-off-by: Derrick Stolee <stolee@gmail.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    8584c17 View commit details
    Browse the repository at this point in the history
  4. TryGetScalarEnlistment: update logic for nested Git repos

    When we run functional tests inside the Scalar source code, we
    need our vanilla Git repos to be recognized inside that repo. The
    old logic would look for "src/.git" first, finding the Scalar repo
    before looking just for ".git". This makes the code simpler, too!
    
    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    c74f463 View commit details
    Browse the repository at this point in the history
  5. FunctionalTests: add tests for vanilla Git repos

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    7a3f609 View commit details
    Browse the repository at this point in the history
  6. PackfileMaintenanceStep: don't look for .keep in non-Scalar repos

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    2c7a278 View commit details
    Browse the repository at this point in the history
  7. MaintenanceVerbTests: add basic tests

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    0b09d5f View commit details
    Browse the repository at this point in the history
  8. MaintenanceVerbTests: expand tests to do meaningful things

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    0b82aa3 View commit details
    Browse the repository at this point in the history
  9. Convert from WatchVerb to ReposVerb

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    9cbabd0 View commit details
    Browse the repository at this point in the history
  10. Let ReposVerb be run outside an enlistment

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    e39478c View commit details
    Browse the repository at this point in the history
  11. IsScalarRepo -> UsesGvfsProtocol

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    cf9fa4c View commit details
    Browse the repository at this point in the history
  12. FetchStep: fetch in background even for vanilla Git

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    15b15d6 View commit details
    Browse the repository at this point in the history
  13. BackgroundFetch: don't use --all

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    0159587 View commit details
    Browse the repository at this point in the history
  14. Stop running service verb in installer

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    3f69db7 View commit details
    Browse the repository at this point in the history
  15. PackfileMaintenanceStep: lower batch size if packs are small

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    737ef91 View commit details
    Browse the repository at this point in the history
  16. ConfigStep: set necessary config settings

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    d723c43 View commit details
    Browse the repository at this point in the history
  17. Maintenance: run ConfigStep

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    1f5b399 View commit details
    Browse the repository at this point in the history
  18. Run ConfigStep as part of maintenance verb

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    54ec5c8 View commit details
    Browse the repository at this point in the history
  19. ConfigStep: elevate config errors

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    9b3a96a View commit details
    Browse the repository at this point in the history
  20. MaintenanceVerb: be careful about connections on vanilla Git repos

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    04f582f View commit details
    Browse the repository at this point in the history
  21. ConfigStep: fast config runs can cause process failures

    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    d1f4829 View commit details
    Browse the repository at this point in the history
  22. ConfigStep: rework GitProcess usage

    Signed-off-by: Derrick Stolee <stolee@gmail.com>
    derrickstolee committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    57d6d8c View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2019

  1. MaintenanceVerbTests: flesh out FetchStep test

    Signed-off-by: Derrick Stolee <stolee@gmail.com>
    derrickstolee committed Dec 26, 2019
    Configuration menu
    Copy the full SHA
    7ebcf05 View commit details
    Browse the repository at this point in the history