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 SWIP process - complete remake #53

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

New SWIP process - complete remake #53

wants to merge 3 commits into from

Conversation

zelig
Copy link
Member

@zelig zelig commented Jun 6, 2024

just contains new proposal as an update to README.

If accepted, should follow with complience changes

just contains new proposal as an update to README.

If accepted, should follow with complience changes
@zelig zelig self-assigned this Jun 6, 2024
README.md Outdated
* **Deferred** - a SWIP that is not being considered for immediate adoption. May be reconsidered in the future.
```yaml
---
title: fairx
Copy link
Collaborator

Choose a reason for hiding this comment

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

This example title is concise, but not descriptive. I suggest taking one of the existing as example:
Neighbourhood hopping

README.md Outdated

For a detailed description of the SWIP process see [SWIP-0](SWIPs/swip-0.md).
A new SWIP can be proposed by opening a PR in the [SWIP repo](https://github.com/ethersphere/SWIPs) titled `SWIP-<XXXX>: <title>` where `XXXX` is the SWIP number left padded with zeros up to four digits (i.e., fprinted with the format string `%04d`).
Copy link
Collaborator

@crtahlin crtahlin Jun 10, 2024

Choose a reason for hiding this comment

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

To avoid clashes on SWIP numbers, let us define that a SWIP must have the same number as the PR.

Also, I would be against left padding with zeros to make it for digits, as I see no need for that. The number will grow to more than four digits. And also, the practice in Ethereum is there is no padding (example https://eips.ethereum.org/all).

Copy link
Member Author

Choose a reason for hiding this comment

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

OK then. Then it is no longer relevant to merge the claim PR early on, it simplifies the process.

The need for XXXX numbering is solely the neat temporally correct listing of SWIP md files

Copy link
Member Author

Choose a reason for hiding this comment

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

@crtahlin How about we don't use /assets/SWIP-XXXX/ subdirectories, rather a global assets directory to enable shared figures?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would say that each SWIP should have their own folder of assets for easier reference and browsing within the SWIP. If in the future we see the need for having shared assets among the SWIPs, we can have a global one.

README.md Outdated

### Updating a SWIP

A suggested edit to a SWIP can be proposed by opening a PR in the [SWIP repo](https://github.com/ethersphere/SWIPs) with a PR title in the following format: `Update SWIP-XXXX: Title of the suggested change`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is for an edit of a SWIP that is already final / accepted? As a draft SWIP should be just edited directly?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually, reading forward, it is for a SWIP that is merged but can be in any state?


Once a phase of a SWIPs is complete, authors will indicate this by setting the `ready to merge` label on the open PR. editors can merge the PR to master. see also section about curating SWIPs below.

### Format and structure
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should the template SWIP (https://github.com/ethersphere/SWIPs/blob/master/SWIPs/swip-X.md) still be used? I guess not, since there are sections and headers defined in this README.

Copy link
Collaborator

@crtahlin crtahlin left a comment

Choose a reason for hiding this comment

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

left comments

fix typo, change example title
README.md Outdated

For a detailed description of the SWIP process see [SWIP-0](SWIPs/swip-0.md).
A new SWIP can be proposed by opening a PR in the [SWIP repo](https://github.com/ethersphere/SWIPs) titled `SWIP-<XXXX>: <title>` where `XXXX` is the SWIP number left padded with zeros up to four digits (i.e., fprinted with the format string `%04d`).
The PR is adding at least a new placeholder file for the new proposal named `XXXX.md` to be located in the `SWIPs` subdirectory of the SWIPs repo.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's also define the name format here, like: swip-xx.md (where xx is the number of the PR, as discussed above)

@tamas6
Copy link
Collaborator

tamas6 commented Nov 6, 2024

Please review @zelig 🐝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants