informalsystems / informalsystems/testnets

Package tmtestnet

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Ideally we'd want the `tmtestnet` tool to not be a massive monolithic Python script at some point. The best approach here would be to create a proper Python package for it and submit it to PyPI.

That way developers could simply just:

```bash
pip3 install -U tmtestnet
```

and they'd have access to the functionality from their command line.

The biggest challenges with this are:
1. splitting the code up meaningfully into separate files in a package, and
2. embedding the Terraform and Ansible scripts into the Python package such that the Python script can access those Terraform/Ansible scripts at runtime.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the monolithic tmtestnet Python script and the Terraform and Ansible scripts it uses. Define a package structure and runtime asset strategy, then verify that pip3 install -U tmtestnet provides the command-line functionality and can access those scripts after installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, python, terraform
Domain
cli, devops, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.