Skip to content

Create a Parsec Contributor Setup Script #530

Open
@MattDavis00

Description

@MattDavis00

Currently the process of setting up a development environment on Ubuntu is to follow the steps within the Dockerfile here. This is a labor intensive task as not all commands Dockerfile -> Ubuntu translate one to one; for example, setting environment variables or changing the working directory. It would be good to have a shell script (or equivalent) to setup a Parsec environment given a list of providers you wish to use. This script would help lower the barrier for entry for contributors. This script can then be consumed by the docker image so there is no duplication of installation steps, almost all installation logic being defined within the shell script.

The script should implement everything included within the Dockerfile, and then the Dockerfile should be refactored to use this script instead.

For example something like:

> ./setup-dev-environment.sh --features tpm-provider,mbed-crypto-provider,direct-authenticator

Minutes discussing this issue:

  • Set up your dev env -> go through the Dockerfile to follow the commands. Need to be manual process because Docker specific. Shell script or something equivalent to set up everything.
  • Specific parameters for what you want provider to set up.
  • Lowering the entry barrier to contributors.
  • That script can be used in the Docker image to make sure it stays in sync.
  • Easier for new contributors than following other projects’ documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ecosystemIssues related to building or improving compatibility layers to enhance Parsec's ecosystem positionenhancementNew feature or requestmediumEffort label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions