composer / composer/satis

Include version in zip file name?

Open
#606 1 comment 0 reactions 0 assignees View on GitHub
feature hacktoberfest
Dominant language
PHP
Stars
3.3k
Forks
530
Avg merge
6h 53m
Merged PRs (30d)
13

Description

Hi, I'm using a script to auth user when "composer update".
It works fine!
The title of the zip files start with the package name so I can have different credentials for each package, the problem is it does not include the version number so I cannot assign different credentials to each version.
So it would be nice if you could name the files something like this:
usename-package-v3.2.1-43kJ2ldj23bn2Sck..

Thanks in advance

Contributor guide

Open the contributing guide

Research direction

Start by locating where Satis generates and names package ZIP archives, then inspect how package versions are available during that process. Confirm the desired filename format from the issue and verify that generated archives include the package version without breaking existing package retrieval or authentication behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.