Comments (3)
Sounds like you should be scanning for the composer.json
file and skip the repo if it is missing. Not having this file means it is unusable for Composer anyways.
from satis.
Thanks, that's one solution I did consider, I was just hoping to avoid making a ton of API calls every time a build is created. I was hoping there was a way to pass a flag to Satis to ignore invalid repositories.
from satis.
Had a quick peek at https://docs.gitlab.com/ee/api/groups.html#list-a-groups-projects
My suggestion would be to add a satis
topic to the repositories that are considered valid / ready-for-use and simply use that as a selector in your API request.
Although that works on a project level, and it has been ages since I used Gitlab, so I am not sure if a project equals a repository or not.
from satis.
Related Issues (20)
- Satis fails to archive dependencies for required packages. HOT 2
- Satis fails to archive dependencies for required packages
- "Composer could not find a composer.json file" HOT 9
- Change in PackageSelection repository filters HOT 7
- Purge fails if unreferenced file to remove is already missing HOT 1
- Check for vcs tag when scanning path for packages
- Downloaded packages have incorrect file modification timestamps HOT 4
- 403 when trying to access packages.json HOT 6
- Non-canonical repositories are not fetched HOT 2
- Composer not asking for credentials even though they are entered HOT 1
- Satis not getting the next minor version on "composer update" HOT 2
- After upgrading Satis, 'composer create-project' no longer recognizes github-oauth token HOT 1
- Running satis causes "Failed to open directory: operation failed error"
- Release stable (i.e. 3.x) branch for pre-mbstring era HOT 2
- Could the "only-best-candidates" logic also be used for archived packages
- `includes` configuration is documented but not valid HOT 1
- Exit with non-zero RC on failure
- Question about SSH/SSL section in the documentation
- Docker + Composer is not using external providers-url error Composer repositories that have providers can not load the complete list of packages, use getPackageNames instead
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from satis.