composer / composer/satis

Generate index.html without re-scanning repositories

Open
#94 7 comments 0 reactions 0 assignees View on GitHub
feature nice-to-have
Dominant language
PHP
Stars
3.3k
Forks
530
Avg merge
6h 53m
Merged PRs (30d)
13

Description

The `satis build` command does a couple of things:
1. Scans repositories for new versions.
2. Generates a `packages.json` file.
3. Generates an `index.html` file.

When tweaking the Twig template for `index.html`, it would be useful to have a command for only doing step 3, or at least to avoid doing step 1, which can take a long time.

Contributor guide

Open the contributing guide

Research direction

Start with the `satis build` command and trace how it scans repositories, generates `packages.json`, and renders `index.html` from the Twig template. Determine where the command can skip repository scanning while still regenerating the index, then verify that template changes update `index.html` without performing step 1.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.