-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found in the lock file but not in remote repositories #568
Comments
same here :'( |
Thank you! I just did it on our 32 dependencies and it works. |
Can't this be automated or solved along the repman side? i'm not manually updating 100+ dependencies. @akondas Do you have any insight? |
@akondas @karniv00l Can someone look into this please? It interrupts our daily operations... |
If you can share your organization alias with me, I can do it manually. If it is a standalone version, there is a command in cli that synchronizes the entire organization:
|
Hi @akondas, we use the cloud version, our alias is |
@akondas No longer needed. While waiting, I wrote something myself that uses the API to sync the packages... |
Well, that was tedious, 100s of packages, manually updating each. Kind of points to the need for a global 'update all packages' on the hosted version :) |
@thibodelanghe Do you have a working link to the API docs? I'm just seeing an error message on their API docs landing page. |
Not a full fledged page @ericp-mrel, but this did the trick for me https://app.repman.io/api/doc.json |
@thibodelanghe Thanks! |
Quick and dirty bash script to sync all packages. Assumes HTTPie and JQ are installed. #!/bin/env bash
# Requires HTTPie and JQ
ORG_NAME='example'
API_KEY='DEADBEEF12345etc'
SLEEP_S=0.5
# End of variables that need to change
package_url="https://app.repman.io/api/organization/${ORG_NAME}/package"
result=`http -j "${package_url}" "X-Api-Token:${API_KEY}"`
while [[ true ]]
do
for uuid in `echo "${result}" | jq -r '.data[].id'`
do
sync_url="${package_url}/${uuid}"
echo "Syncing package ${sync_url}"
http -j PUT "${sync_url}" "X-Api-Token:${API_KEY}"
sleep "${SLEEP_S}"
done
next_link=`echo "${result}" | jq -re '.links.next'`
if [ $? -ne 0 ]; then
break
fi
echo "---- Fetching ${next_link}"
result=`http -j "${next_link}" "X-Api-Token:${API_KEY}"`
done
echo "done"
exit 0 |
Slightly "safer" version of the above script is available here https://gist.github.com/swichers/c167abdb0f9be23305c7a9a22a473188 which pulls the org and key into arguments and checks for jq and http on the system before running. |
Hi,
Since this morning, I get this message when I try to do a "composer update" on my project.
Is this due to a problem with the cloud version of repman at the moment?
Thnks
The text was updated successfully, but these errors were encountered: