-
Notifications
You must be signed in to change notification settings - Fork 66
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
import/export issue from self hosted gitlab instance ? #65
Comments
Thank you! I see that the |
Thanks for your response @dspinellis. I checked the code and I could change the endpoint by adding manually a variable in the config file present in the issues folder and the corresponding parser in PS: I think I found a bug. My server returns a HEADER start with (*) |
Thank you for the feedback! Let's keep the header problem in a separate issue. (I believe the header status is mandatory, so the problem may be something else.) Storing the endpoint in the configuration file is a good idea. However, I'd like to have a way to set it from the command line, as is done with |
Yes, I think having something like In git I believe we can directly change the config either with the command line or by editing the config file. It's probably not the better way to do it, but still, this if it can help, here is the main modification I did in the import-export.sh file to check the config file : GITLAB_PROVIDER="https://gitlab.com"
while read -r name value
do
if [ "$name" = "provider_domain" ]; then
GITLAB_PROVIDER=$(echo $value | sed "s/^ *= *//")
fi
if [ "$name" = "gitlab_token" ]; then
GL_CURL_AUTH="PRIVATE-TOKEN: $(echo $value | sed "s/^ *= *//")"
fi
if [ "$name" = "github_token" ]; then
GH_CURL_AUTH="Authorization: token $(echo $value | sed "s/^ *= *//")"
fi
done < .issues/config |
Nice! If you use |
Yes, at the beginning of the script. |
Hi,
Is it possible to use the import/export functionality to work with self hosted instance of gitlab with given url ?
I couldn't manage to do it.
Great code !
The text was updated successfully, but these errors were encountered: