(Created page with "= Common pitfalls with the community obs = == Command line client == === Use https not http === If you use http for api.pub.meego.com, commits from osc will not work so you nee…") |
(categorise) |
||
| (One intermediate revision not shown) | |||
| Line 4: | Line 4: | ||
=== Use https not http === | === Use https not http === | ||
| - | If you use http for api.pub.meego.com, | + | If you use http for api.pub.meego.com, you can checkout projects using osc but commits will not work. You will see the following error message when trying to commit changes through http |
| + | |||
| + | Transmitting file data .Server returned an error: HTTP Error 301: Moved Permanently | ||
| + | |||
| + | To get commits working you need to define the api url like this | ||
osc -A https://api.pub.meego.com ls | osc -A https://api.pub.meego.com ls | ||
| + | |||
| + | [[Category:Build Infrastructure]] | ||
If you use http for api.pub.meego.com, you can checkout projects using osc but commits will not work. You will see the following error message when trying to commit changes through http
Transmitting file data .Server returned an error: HTTP Error 301: Moved Permanently
To get commits working you need to define the api url like this
osc -A https://api.pub.meego.com ls