Contribution Guide

Welcome to the SCION contribution guide! If you are interested in contributing to the project, this page will help you out on your journey to your first SCION commit.

Hint

If you have any questions, you can always find us on our Slack workspace or on our Github project page. Do not hesitate to ask us anything, or feel free to just drop by and say “Hi”.

Please use this invite link to join scionproto Slack workspace.

What skills do you need to contribute?

SCION is a complex project, and uses a lot of different technologies. If you are unfamiliar with some of them, we have compiled a list containing some great resources to get you started.

Language

Contribution area

Tutorials

Go

SCION Control-plane, SCION Data-plane, SCION Tools

Resources for learning Go

Python, Bash

Acceptance testing, Helper scripts

Coming soon

Starlark

Bazel build/test system

Coming soon

For version control, we use Git and GitHub. For more information about using Git (including links to resources to get you started if you’ve never used before), please visit How to Use Git and GitHub.

No matter what language you want to contribute to, one of the first steps to take is to set up a development environment. See Setting up the Development Environment for the needed steps. If you encounter issues, please visit our Slack and ask for help.

Finding an issue to contribute to

We use GitHub labels to categorize issues in the SCION tracker. The two most interesting categories when searching for something to contribute to are:

  • Help wanted issues. These are issues that nobody is working on at the moment, and are up for grabs.

  • Good first issue issues. These are usually Help wanted uses that are somewhat simpler. These are a good place to start if you’ve never contributed to the project before.

Once you find something you like, post a comment on the issue announcing that you’re interested in working on it. This initial message signals to others that somebody is already working on it (and thus avoids duplicate work), and also is the first step in gathering more information about the issue from the SCION team.

From this point on, somebody from the SCION maintainers team will reach out to you and guide you for the rest of the process. If you have any questions, please remember to shoot us a question on our Slack.

Finally, make sure that the code you write adheres to the SCION project Style Guides.

Governance: TC Implementation

The Technical Committee (TC) Implementation of the SCION Association are the custodians of the open-source SCION implementation projects.

People

The current members of the TC Implementation are:

Responsibilities and Tasks

The TC Implementation has the following main responsibilities, as defined in its charter:

  • Coordination with the Association Board and other bodies of the SCION Association. In particular, coordinate with the TC Standardisation to synchronise the evolution of the SCION standards, specifications, and their implementation. Consult with the Advisory Board on strategic planning.

  • Steering strategic direction of the open source SCION project(s); planning projects aligned with priorities of SCION Association members and the open source developer community.

  • Deciding on cross-cutting issues such as development processes, guidelines, tooling, etc.

The TC may define technical teams and work groups and delegate tasks. No technical teams or work groups are currently defined.

Where not delegated to technical teams, the TC Implementation members participate in the day-to-day operations to implement the Change Proposal Process defined below, in particular by

  • Participating in change proposal discussions and moderating discussions

  • Reviewing and deciding over individual change proposals and pull requests

Change Proposal Process

Many changes, including bug fixes and documentation improvements, can be implemented and reviewed via the normal GitHub pull request workflow.

More substantial changes must be submitted as a proposal in the form of a GitHub issue, in order to create a consensus among the SCION community. Typical examples for substantial change proposals include:

  • Adding, changing, or removing compontents or functionality

  • Changing interfaces between components

Proposals for changes to the SCION protocol (e.g., header format, processing rules, cryptography) are currently following the same process. This may, however, change in the near future when a formal specification or standard for the SCION protocol is established.

Hint

It is recommended to discuss proposals with other (senior) developers before submitting them, for example on our Slack.

Warning

Pull requests for substantial features that did not go through the proposal process will be rejected or put on hold.

Formal Process

../_images/change-proposal-process.excalidraw.png
Creation:

To open a proposal, the author submits a GitHub issue following the proposal template.

Review:

The proposal may receive feedback from the community, which should be incorporated by the author. Moreover, the assigned technical team triages the proposal and assigns one of its members to manage the process. The technical team discusses the proposal and provides feedback. To increase transparency, the results of these discussions are summarised publicly.

Decision:

The technical team decides to accept, postpone, or reject the proposal based on the outcomes of the discussion and feedback from the community.

Design:

If the proposal has been accepted, the authors submit a design document and submit it to the repository (doc/dev/design) in the form of a pull request. See Design Documents for details.

Final review:

The design document will be reviewed by the assigned technical team. Since all major points should already be agreed upon in the proposal review, this final review is expected to be lightweight. After this review, the technical team may start the final comment period, together with a proposition to merge, close, or postpone the proposal.

The final comment period lasts ten calendar days and is advertised, such that stakeholders have a chance to lodge any final objections before a decision is reached. If no major comments are raised during the final comment period, the proposed action (close, merge, or postpone) is accepted; otherwise, the proposal goes back to the review step and is discussed further.

Implementation:

If the final comment period ends with the decision to merge the proposal, it becomes active. The proposal can now be implemented (typically, but not necessarily by the authors). The implementation is submitted as a pull request. The implementation will be reviewed; acceptance of the proposal does not automatically imply that its implementation will be accepted.

Learning resources

See also

Setting up the Development Environment

Get started by cloning the repository and installing the build tools.

Running SCION Locally

Run a SCION network on your development machine

Wireshark

Install Wireshark and the SCION packet dissector plugin to inspect packets on the wire.