Questions tagged [satis]

Satis - Package Repository Generator Simple static Composer repository generator. It uses any composer.json file as input and dumps all the required (according to their version constraints) packages to a Composer Repository file.

Satis - Package Repository Generator

Simple static Composer repository generator.

It uses any composer.json file as input and dumps all the required (according to their version constraints) packages to a Composer Repository file.

Usage

  • Download Composer: wget http://getcomposer.org/composer.phar
  • Install satis: php composer.phar create-project composer/satis
  • Build a repository: php bin/satis build <composer.json> <build-dir>

Read the more detailed instructions in the documentation.

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

Requirements

PHP 5.3+

Authors

Jordi Boggiano - j.boggiano@seld.be - http://twitter.com/seldaek - http://seld.be
Nils Adermann - naderman@naderman.de - http://twitter.com/naderman - http://www.naderman.de

See also the list of contributors who participated in this project.

License

Satis is licensed under the MIT License - see the LICENSE file for details

Github

93 questions
2
votes
1 answer

How can I control what git repository branches are included as releases in satis?

We're currently using git flow to manage feature and hotfix branches in git, and satis to manage packages. Is there any way to tell satis to only list tagged branches as a release rather than listing every single branch that has been created?
Philip Bennison
  • 519
  • 2
  • 10
2
votes
2 answers

How to store composer(satis) package in git repo?

I have private list of repositories. I do not want to add to composer.json whole list in repositories into every package. Composer "said", that I have to create repositry with Satis. But I need to start web-server or open separate ssh access for it.…
sectus
  • 15,605
  • 5
  • 55
  • 97
2
votes
1 answer

How to configure Composer globally to search in custom repositories?

I'm implementing a Satis private repository in my company, and got a question: the docs suggests us to include a "repositories" entry in the composer.json file so we can use that repositories' projects. However, is it possible to configure the…
igorsantos07
  • 4,456
  • 5
  • 43
  • 62
2
votes
1 answer

"Could not find package with version stability=dev." Using Satis private repo

I have a satis private repo set up on the url http://packages.ex/, which, when I visit it, lists two packages: example/admin and example/codebase When I run composer create-project example/codebase new-site --repository-url=http://packages.ex…
tprsn
  • 757
  • 2
  • 7
  • 18
2
votes
1 answer

Satis Installation & Usage Guide for Beginner

I am new to Satis and I have tried with some tutorials such as https://getcomposer.org/doc/articles/handling-private-packages-with-satis.md, http://code.tutsplus.com/tutorials/setting-up-a-local-mirror-for-composer-packages-with-satis--net-36726.…
user2977538
2
votes
1 answer

Satis update via cronjob

I'm try to update my private repository via a cron job but nothing seems to be happening. I'm using Satis to create the repository for my private packages. I can do this manually by logging into my account via SSH and running: php bin/satis build…
Luke Snowden
  • 4,056
  • 2
  • 37
  • 70
2
votes
1 answer

Satis - Storing a Packagist repo locally with local changes that will not be for public consumption

I want to know if I store an existing Bundle that's on http://packagist.org in my company svn repo, do I also need to store the required packages/repos as well? Example, the MonologBundle: https://packagist.org/packages/symfony/monolog-bundle (…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
1
vote
1 answer

What could be the correct syntax to make Satis work with single version and not the whole repository?

The config file syntax of Satis is almost like Composer's. This example Satis config works for comparison: { "name": "local/repository", "homepage": "http://localhost/", "repositories": [ { "name":…
pileup
  • 1
  • 2
  • 18
  • 45
1
vote
0 answers

How to add private Composer repo to Satis with Gitlab group token?

I am using Satis for my Composer repos together with Gitlab. This works in terms of open projects. So without the second repositories line it is working. As soon as I add the second line it keeps asking for credentials. The auth is a deploy username…
1
vote
0 answers

Satis downloads nothing from packagist.org

I've a problem with the Satis configuration. I've the following satis.json: { "name": "Composer Test Repository", "homepage": "https://example.com", "repositories": [ { "type": "composer", "url":…
altralaser
  • 2,035
  • 5
  • 36
  • 55
1
vote
1 answer

How to run Satis on a remote server?

There is a command to run Satis: php bin/satis build satis.json response Satis itself lies on the server, for example, example.com/satis How to run a command on a server remotely? I tried to make a script with the command shell_exec('php bin/satis…
Jack
  • 514
  • 3
  • 11
  • 30
1
vote
0 answers

Composer: The checksum verification of the file failed

I am hosting my own Satis repository via GitLab pages. For some reason however, it keeps on erroring with The checksum verification of the file failed when composer tries to install one of the repositories. Its happening on and off for a few weeks…
Jamesking56
  • 3,683
  • 5
  • 30
  • 61
1
vote
0 answers

Get output of a PHP script executed in Bash

I made a bash script for rebuilding my satis repository. I want to add some logging, because the command will be run automatically. When I execute output="$(php -f vendor/bin/satis build \ --repository-url git@bitbucket.org:example/gibberish.git…
Dries Hooghe
  • 123
  • 9
1
vote
2 answers

composer checksum verification fails for many packages

For some time now, composer sporadically complains that checksum verification fails for some packages. It continues installing them from source. Usually this is not a problem, but I wonder if there is something weird going on. Examples: - Installing…
t11n
  • 46
  • 1
  • 6
1
vote
0 answers

Composer not making request to private repository

I have a private Satis repository set up on which I am hosting several private packages. I would like to include one of these packages as a dependency for a package I am writing, but when I try to run composer update (with composer version 1.4.1),…
Byte Lab
  • 1,576
  • 2
  • 17
  • 42