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
1
vote
0 answers

Satis - Mirror Repositories Package-Type

I am building a private satis repository (mirrored proxy). Anyone got an idea how to make satis create a tar from packages defined under repositories like this: { "name": "Satis Configuration", "homepage": "https://satis.example.org", …
Jochen Schultz
  • 456
  • 5
  • 16
1
vote
1 answer

How to to add permanently access to install private packages hosted by SATIS with access restriction in composer

I would like to know how to add permanently credential to install private packages hosted by SATIS with access restriction through composer. Private packages are hosted by SATIS and have HTTP BASIC AUTH access restrictions. I ve added them in…
Tsounabe
  • 2,109
  • 1
  • 16
  • 25
1
vote
1 answer

Satis, Bitbucket and SSH

I've setup a Satis repository on one of our remote servers allowing access to our private packages hosted on Bitbucket. I've created an SSH key pair on that server and added the public key to our Bitbucket user. Building Satis works just fine this…
shineability
  • 365
  • 1
  • 3
  • 13
1
vote
1 answer

How to automatically keep Satis up to date with the latest dependencies from all my projects?

Satis essentially creates a local mirror of packagist and it can download copies of all the packages you need to keep them cached. The problem is that you have to specify all your dependencies up front. With several projects with ever-changing…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
1
vote
1 answer

Satis Private Repository - satis.json structure

EDIT I think I misunderstood satis, now this is my new understanding, please correct me if I am wrong: In satis.json, I must specify the url s of the packages I want to mirror, e.g the doctrine git repo, yaml git repo... Then satis mirrors all…
user3746259
  • 1,491
  • 2
  • 23
  • 46
1
vote
1 answer

Composer unsatisfied requirement

In a composer setup I need vendor/package-A and vendor/package-B. Package B builds upon package A and has A defined as a requirement in its composer.json. Directly installing the base package A works fine. Other requirements are resolved from…
Propaganistas
  • 1,674
  • 1
  • 17
  • 40
1
vote
1 answer

Mixing wildcard and static version numbers in composer project

I'm having problems at work where we are trying to split our legacy codebase into smaller composer projects to decouple the code and refactor in a controlled way. We host our code on bitbucket and have a satis repo with "require-all": true and all…
Jason
  • 507
  • 3
  • 10
1
vote
2 answers

Calls to `composer install` should only ever use satis dist zip files, never source

We're using a satis repo to host zip file dependencies. Our composer.json file's repository array points to the satis repo and disables packagist. But when we run composer update, composer.lock still lists the original source under "source" (The one…
mattalxndr
  • 9,143
  • 8
  • 56
  • 87
1
vote
1 answer

Composer with satis invalid credentials in a Windows Server

First: sorry for my english, if anyone can edit the question for me. I'm trying to create a server with satis/composer. For do that I install composer/statis/git/svn/apache/php/openssl in a Windows Server 2012. Then I add/edit/create some…
Patrick Maciel
  • 4,874
  • 8
  • 40
  • 80
1
vote
2 answers

Composer multi-bundle dependency failing

I have a fresh symfony application, a satis install (internal package manager) and 2 bundles. The application requires bundle 1. Bundle 1 requires bundle 2. Bundle 2 requires additional bundles from packagist. When running composer update on the…
pmcgovern
  • 71
  • 8
1
vote
1 answer

Satis - password protection

I have a satis repository which connects the dots for my private bitbucket repositories. I want to be able to charge for access to this satis repository by sending over the applications (my base application uses Laravel) secret key and validate it…
Luke Snowden
  • 4,056
  • 2
  • 37
  • 70
1
vote
1 answer

Bootstrapping projects with: private git repos, Composer and Satis

EDIT: What I tried to achieve here can be done by the Yeoman project. So I set up git+composer+satis on a private server, everything works fine, I'm really enthusiastic about it. Got to love them all. I use git for projects, and for private…
ZeeCoder
  • 1,001
  • 9
  • 17
1
vote
1 answer

Satis - error with ssh2.sftp protocol

I am trying to host private composer repository with satis (http://getcomposer.org/doc/articles/handling-private-packages-with-satis.md) It works fine through http protocol. I want to secure it with ssh connection as described in security section…
Vaidas Lungis
  • 1,381
  • 8
  • 16
1
vote
2 answers

How do I clear satis "cache" so I can rebuild from scratch?

I'm using satis to curate several hosted Mercurial repos. One of the repos had a bookmark 'stable' which satis scanned and created an entry for in packages.json. I stripped the branch, removed the remote repo and repushed. Now when I run satis build…
pdizz
  • 4,100
  • 4
  • 28
  • 42
1
vote
1 answer

Satis - not able to auth repository

I have followed the instructions at http://getcomposer.org/doc/articles/handling-private-packages-with-satis.md to setup Satis. I got to php bin/satis build satis.json ./ but then get the following error: [Composer\Downloader\TransportException] …
Luke Snowden
  • 4,056
  • 2
  • 37
  • 70