Skip to content

Repository organization #360

Closed
Closed
@sunfishcode

Description

@sunfishcode

Currently the main directory organization in the WASI repository looks like this:

phases/

  • ephemeral/
  • snapshot/
  • old/
    • snapshot_0/

I've recently talked with several folks about how to better organize proposal repos, and we came up with several ideas which seem to fit well together which I'd like to discuss:

  • Switch to having stable URLs for snapshots rather than maintaining a snapshot/ pointing at the current snapshot and old/ add old snapshots. We can have a link in a README file pointing to the latest revision if that would help, but being able to refer to a specific snapshot URL would be useful. This was suggested in Consider giving the current snapshot a number #261, and I now think it makes sense to do in combination with the other ideas here.
  • Replace numbered snapshots ("0", "1", etc.) with date-based snapshots (eg. "2020-12" or so)
  • Replace the contents of the ephemeral/ directory with a proposal template. The way this will work is:
    • Development will move into the proposal repos, such as wasi-filesystem.
    • When we create a new proposal repo, it'll get a copy of the template, and the people working on the proposal can use that if they wish, but they can also choose to organize development however they see fit.
    • We can also then rename this to proposal-template/ and move it out of phases/.
  • Add a new standard directory, which in the main WASI repo here will be empty until some proposal reaches stage 5, but which in the proposal repo forks will contain the most recent version of the proposal.
  • Add a script, similar to update-testsuite.sh in the wasm testsuite repo, which copies the standard/ contents from the proposal repos into a date-based snapshots/ subdirectory.

So the new structure would be:

  • phases/ goes away
  • add proposal-template/ at the top level contains a template for new proposals
  • snapshot/
    • date-based snapshot directories (eg. 2020-12)
  • standard/

This will, at last, be part of a clear path forward for releasing a new snapshot using the proposal repos. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions