-
Notifications
You must be signed in to change notification settings - Fork 374
[API] Abstract over repository roots to simplify the addition of new repository formats #6680
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
Open
kit-ty-kate
wants to merge
27
commits into
ocaml:master
Choose a base branch
from
kit-ty-kate:abstract-repository-root
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d358abe
add new module
kit-ty-kate b8401db
fixup! add new module
rjbou 909be9d
tmp
kit-ty-kate 79fd646
fixup! tmp
rjbou 14a83e7
fixing compil
rjbou be25bd1
start adding some doc
kit-ty-kate 708c708
some variable def / facto
rjbou bb45e5d
remove tar dep
rjbou 7e0f475
remove via cli OPAMREPOTARRING env var
rjbou 80e29e3
add Op modul in repo root modules
rjbou ba224cc
admincommand: factorise cwd repo root creation with a function that i…
rjbou 445b882
admincommand: factorise some to_dir functions calls
rjbou baf0725
amdin repo upgrade: use / operators to simplify code
rjbou 74254fb
cwd
kit-ty-kate b9cb4f5
norepotarringchange
kit-ty-kate b913bbe
lean
kit-ty-kate b9cdd2c
rename make_empty
kit-ty-kate fd6bbda
rm clean
kit-ty-kate 628fd8a
doc delayed_read_repo
kit-ty-kate 872bc27
columns
kit-ty-kate 0e0c0bd
reduce diff
kit-ty-kate facbe39
resolve todos
kit-ty-kate 836e917
fixup src/tools
kit-ty-kate c2e8e44
reintroduce repo_tarring
kit-ty-kate 49cf0d2
fixup-no-diff
kit-ty-kate 30c80d8
doc index
kit-ty-kate 76b1706
rm safe_read_repo_file
kit-ty-kate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use
Dirhere instead of the abstractionOpamRepositoryRoot.t?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is guarded under the
elsebranch ofif OpamFilename.exists tarso in this case we know that we're working with directories