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

docs for URI and CODE #4204

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

docs for URI and CODE #4204

wants to merge 12 commits into from

Conversation

drernie
Copy link
Member

@drernie drernie commented Oct 26, 2024

Document the "CODE" tab for Bucket and Packages views.

Propose new '&catalog` fragment.

Copy link

codecov bot commented Oct 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.68%. Comparing base (22cfedd) to head (a180c7d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4204   +/-   ##
=======================================
  Coverage   37.68%   37.68%           
=======================================
  Files         768      768           
  Lines       35321    35321           
  Branches     5214     5214           
=======================================
  Hits        13312    13312           
  Misses      20775    20775           
  Partials     1234     1234           
Flag Coverage Δ
api-python 91.09% <ø> (ø)
catalog 12.07% <ø> (ø)
lambda 87.95% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@drernie
Copy link
Member Author

drernie commented Oct 26, 2024

@fiskus @sir-sigurd Any thoughts? I'm sure @nl0 will want to weigh in, but I'd appreciate your feedback before then.

@drernie drernie requested a review from fiskus October 26, 2024 00:26
docs/Catalog/URI.md Outdated Show resolved Hide resolved
@drernie
Copy link
Member Author

drernie commented Oct 29, 2024 via email

@fiskus
Copy link
Member

fiskus commented Oct 29, 2024

quilt+s3://bkt?catalog=dns.name#package=pre/suf

I don't have a rational explanation, but that looks more elegant for me. I don't know (or don't remember), what was the rationale behind using # hash instead of ? query string in the first place.

@sir-sigurd
Copy link
Member

I don't know (or don't remember), what was the rationale behind using # hash instead of ? query string in the first place.

AFAIR that was done because unlike fragment you need to encode querystring / in particular

Comment on lines 41 to 42
- `quilt+`: The scheme of the URI. This is always `quilt+`.
- `s3://`: The protocol of the URI. This is currently `s3://`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, AFAIK URI scheme is quilt+s3

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment, but we already have local and sharepoint repositories...

Copy link
Member Author

@drernie drernie Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yeah, I should use the term scheme correctly. Does this work?

`quilt+<protocol>`: The scheme of the URI. This always begins with `quilt+`.
  Currently the only supported protocol is `s3`.

docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/Catalog/URI.md Outdated Show resolved Hide resolved
docs/imgs/uri-resolve.png Outdated Show resolved Hide resolved
drernie and others added 4 commits November 5, 2024 15:18
Co-authored-by: Alexei Mochalov <nl_0@quiltdata.io>
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@quiltdata.io>
@drernie drernie requested a review from nl0 November 5, 2024 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants