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

New standard: File System #176

Closed
annevk opened this issue Oct 21, 2021 · 6 comments · Fixed by #181
Closed

New standard: File System #176

annevk opened this issue Oct 21, 2021 · 6 comments · Fixed by #181

Comments

@annevk
Copy link
Member

annevk commented Oct 21, 2021

In a TPAC 2021 breakout session we discussed standardizing OPFS + AccessHandle: https://docs.google.com/document/d/1RBK5pshKiKWa0drPEPrYwsAmZUELO_23hGM2iJTFiJA/edit. It's essentially a new storage API like IndexedDB, but with a file system API. The infrastructure it provides will be so it can also be used to support native file system access, but that will not be part of this standard and as such cannot be mandated from implementations.

@mkruisselbrink will be the editor. I will help with the transition.

A question the SG needs to address is whether this warrants a new Workstream or can be placed under an existing Workstream, such as Storage. The latter seems slightly preferable as it would keep things simple. (The whole thing sits on top of StorageManager.)

I suggest "File System" as name and "fs" as shortname.

@foolip
Copy link
Member

foolip commented Nov 3, 2021

Here's the current scope of the Storage workstream:

sg/db.json

Line 372 in 7c5b48a

"scope": "APIs for persistent storage and quota estimates, as well as the web platform storage architecture.",

@annevk
Copy link
Member Author

annevk commented Nov 3, 2021

We (@whatwg/sg except for @othermaciej) had a discussion about this and considered this to be in scope for the Storage Standard. These seem to be the relevant bits from the Workstream Policy on this question:

Each Workstream is dedicated to a single Living Standard (or, if unavoidable, two or more inextricably interdependent Living Standards)

https://whatwg.org/workstream-policy#workstream-living-standards

Given that it builds directly on StorageManager as well as the underlying infrastructure this seems met. The reason we'll keep it separate is because it will have its own editor.

Within the approved Workstream Scope, the Editor evolves the Living Standard and other publications of the Workstream. The Workstream's Editor may add, remove, merge or split Living Standards and other associated documents, so long as all deliverables are still within the Workstream's Scope. If the change affects Living Standards, the Editor must notify the Steering Group 14 Days in advance of the change.

https://whatwg.org/workstream-policy#editor-discretion

This suggests this addition should be okay starting tomorrow, roughly.

If anyone has any further feedback on this, nowish would be a good time.

annevk added a commit that referenced this issue Dec 1, 2021
@othermaciej
Copy link
Contributor

Retroactively, I'll add that it seems ok to me to add this as an additional spec in the Storage Workstream and a suitable 14 days notice has been given.

annevk added a commit to whatwg/fs that referenced this issue Dec 2, 2021
annevk added a commit to whatwg/fs that referenced this issue Dec 2, 2021
annevk added a commit to whatwg/fs that referenced this issue Dec 2, 2021
This change:

* Aligns the draft with the WHATWG boilerplate.
* Removes local file system access and the sections related to that.
* Aligns the introduction with that change in scope.
* Changes instances of and/or to or.
* Abstracts the permission model, largely to be used by dependent specifications.

See whatwg/sg#176 for context.
@annevk
Copy link
Member Author

annevk commented Dec 2, 2021

A preview can now be found at https://whatpr.org/fs/1.html.

@foolip
Copy link
Member

foolip commented Dec 7, 2021

@annevk should we file an issue at https://github.com/w3c/whatwg-coord/issues?

@annevk
Copy link
Member Author

annevk commented Dec 13, 2021

FYI: once whatwg/fs#1 is merged the standard will be live.

annevk added a commit to whatwg/fs that referenced this issue Dec 13, 2021
This change:

* Aligns the draft with the WHATWG boilerplate.
* Removes local file system access and the sections related to that.
* Aligns the introduction with that change in scope.
* Changes instances of and/or to or.
* Abstracts the permission model, largely to be used by dependent specifications.

See whatwg/sg#176 for context.
mkruisselbrink pushed a commit to whatwg/fs that referenced this issue Feb 3, 2022
* Meta: add support files for being a Living Standard

See whatwg/sg#176 for context.

* Meta: align README

See whatwg/sg#176 for context.

* Introducing the File System Standard

This change:

* Aligns the draft with the WHATWG boilerplate.
* Removes local file system access and the sections related to that.
* Aligns the introduction with that change in scope.
* Changes instances of and/or to or.
* Abstracts the permission model, largely to be used by dependent specifications.

See whatwg/sg#176 for context.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants