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

implement cache based listing #29

Merged
merged 29 commits into from
Oct 24, 2023
Merged

implement cache based listing #29

merged 29 commits into from
Oct 24, 2023

Commits on Oct 20, 2023

  1. Configuration menu
    Copy the full SHA
    e107264 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09883a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6992ec View commit details
    Browse the repository at this point in the history
  4. add gm cache

    amtoine committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    0436fad View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    18d0013 View commit details
    Browse the repository at this point in the history
  6. remove nested repositories

    amtoine committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    fc52fa5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fc30873 View commit details
    Browse the repository at this point in the history
  8. add a test to make sure foo.bar and foo are both listed

    a real-life example would be the `nushell` and `nushell.github.io`
    repos: we want them both.
    amtoine committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    c3213ca View commit details
    Browse the repository at this point in the history
  9. fix list-repos-in-store

    a real-life example would be the `nushell` and `nushell.github.io`
    repos: before this change, `nushell.github.io` would be discarded by
    `list-repos-in-store` because `nushell.github.io` starts with `nushell`.
    keeping the trailing `/` in all paths fixes the error because
    `nushell.github.io/` does not start with `nushell/` anymore 👌
    amtoine committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    7810e33 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2badc7e View commit details
    Browse the repository at this point in the history
  11. use / in the tests directly

    because the paths are sanitized, they will all use `/`
    amtoine committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    c11f4b7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    396b0cf View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    25d02ee View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    dd31234 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1ef49ec View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6ce80ee View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8130316 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    9dff625 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a1fab43 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0c76ca1 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    616f964 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    3af06bc View commit details
    Browse the repository at this point in the history
  23. remove last mentions to path_sep

    all paths should be sanitized now
    amtoine committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    87b5970 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    39af729 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. Configuration menu
    Copy the full SHA
    b12bd94 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6e1d6b View commit details
    Browse the repository at this point in the history
  3. update the cache without gm cache --update

    when cloning or removing a project, there is no need to update the
    whole cache, that takes unnecessary time...
    
    this commit only appends the new project to the cache or removes it
    when using `gm clone` or `gm remove`.
    because it started to be used in multiple places, i've refactored
    the check of the cache existence in `check-cache-file` in the
    `fs/store/` module.
    amtoine committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    fa3f5ea View commit details
    Browse the repository at this point in the history
  4. minor formatting

    amtoine committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    bc9b8f9 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. chore: revert b12bd94

    melMass committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    c8af081 View commit details
    Browse the repository at this point in the history