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
1 answer

Private composer repository

I have setup a local SVN repository with the following layout trunk satis libraryA trunk src composer.json tags branches Which is complying with the documentation. My satis configuration looks like…
Tuim
  • 2,491
  • 1
  • 14
  • 31
1
vote
1 answer

Satis with local git repository trouble

I've read this for setting up a local Satis server, I've managed to do it and see the web view on my virtual host. Now, I have two projects listed there, one requires the other. On another project I require the one that depends on the other, then…
gerardorn
  • 89
  • 2
  • 11
1
vote
1 answer

composer / satis svn repository http basic authentication

I am trying to create a composer package repository for my company using satis. My svn repositories are acessed via http (apache svn). I am trying to add this to my config.json of satis { "name": "packages", "homepage":…
brpaz
  • 3,618
  • 9
  • 48
  • 75
1
vote
1 answer

Composer is not reading my local Satis packages.json file

I have setup my local SVN repo to hold all external repos ( company policy ), using Satis I've created the packages.json file. when I run composer update how do I tell it to use my custom packages.json file and pull from my local repo instead of…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
1
vote
1 answer

Satis - SVN HTTP authentication option

Satis Docs: http://getcomposer.org/doc/articles/handling-private-packages-with-satis.md I see the option for GIT authentication via SSH and SSL but would I wanted to know what about basic HTTP authentication? Does Satis support this and if so…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
0
votes
1 answer

Is it possible to limit satis to a single vendor?

I want to use satis to provide dependencies of projects I am developing. So I know I can use options: require-dependencies, require-dev-dependencies and only-dependencies to include dependencies of my project. But this will add all dependencies…
HubertNNN
  • 1,727
  • 1
  • 14
  • 29
0
votes
1 answer

Composer - download package from private gitlab package registry - invalid credentials

I have a small pipeline to use a custom composer package into a project: the private gitlab project generates a composer package and publish it to the project package registry: this works all fine a second private project use satis to generate a…
fudo
  • 2,254
  • 4
  • 22
  • 44
0
votes
1 answer

Satis + Gitlab private project - after build no package is downloaded

I hve a gitlab private project for a composer package that is published to its package registry via pipeline. Now I want to use satis to create my repository and publish it to gitlab pages in order to make the private package available, so i made a…
fudo
  • 2,254
  • 4
  • 22
  • 44
0
votes
0 answers

How to fix the problem "Could not resolve hostname" when using Docker

I am trying to set up a Satis installation with the official Docker image composer/satis. The private repository I have put uses an SSH key with a passphrase. I use a syntax in the SSH config that allows me to use one key by repository. When I…
lionelp
  • 443
  • 1
  • 7
  • 21
0
votes
1 answer

Fixing composer error "Unknown downloader type: vcs" with Satis

Recently, as I upgraded composer to the newest version (2.1.3) , I've started having issues pulling down our satis repositories when running composer update. The actual error I'm getting is: usr@srv ~/test $ composer update Loading composer…
h2ooooooo
  • 39,111
  • 8
  • 68
  • 102
0
votes
1 answer

How to run a script to build Satis on a server using url

I have a server example.com. I need to run command to build Satis. I added file index.php, where I wrote ');. When I execute this command on the server, I enter the login and password for GitLab. And I do it…
Jack
  • 514
  • 3
  • 11
  • 30
0
votes
1 answer

How to pick only specific versions to build inside my satis project?

I didn't know that satis would install all the versions of the packages inside it so basically this is my satis.json file { "name" :"offline-packages/satis-packages", "description":"Offline Packages Generator", "homepage":…
TheBAST
  • 2,680
  • 10
  • 40
  • 68
0
votes
1 answer

Using multiple private repos in same vc location

To put it simpley the best I can: we have a private VC repo with a list of composer packages we use internally -- [our-bitbucket.com]/comp/ Each package has it's own repo. Each package is namespaced under [orgname]/ within their composer.json…
guice
  • 976
  • 4
  • 11
  • 31
0
votes
0 answers

Composer can't access local Satis server

I am hosting a Satis Private Repository currently on my local machine while I do some debugging and testing. I have added a repository too which currently just contains a project on GitLab which included a composer package. Currently it is being…
James Pavett
  • 377
  • 6
  • 23
0
votes
1 answer

Cannot make composer install work offline

I am trying to set up Composer to work without internet access. I have set up a server in the local network with a Satis configured repository with the following configuration file: { "name": "private/composer", "homepage":…
Victor
  • 13,914
  • 19
  • 78
  • 147