Attach file to issue in GitHub via API - redmine

My requirement is to migrate issues from Redmine to GitHub issue tracker.
I exported Redmine issues to a csv file. Using GitHub issue api I am able to create issues in github along with labels.
But I also need to attach file while creating issue, using GitHub REST apis.
Is it possible to attach files while creating issue in github via API?
If anybody knows the solution for this please let me know.

No, it's not possible to attach files to issues via the GitHub API.

Related

Automatic C++ documentation generation on GitLab project using doxygen

I am working in a GitLab C++ project and I am trying to have a automatic documentation generation on the code using Doxygen. I don't really know how to approach the problem.
Can I somehow include it in CMake to have a updated documentation in the project everytime someone builds it?
Or would it be better to have the server generate a documentation when someone pushes his Code?
Thanks for your help!
Consider publishing the generated documentation on a GitLab Pages site (https://docs.gitlab.com/ee/user/project/pages/) You can then link to it from your Wiki to make it easy to find.
GitLab Wiki is stored in a separate Git repository (https://docs.gitlab.com/ee/user/project/wiki/) so that's why I think it would be cleaner to create a Pages site rather than to update the Wiki Git repo from the main Git repo.
Yes, I think it is better to have a separate server build the documentation whenever someone pushes. If you have a Travis-CI account, you could configure an automatic deployment of your Doxygen documentation to the GitLab Wiki.
See here a link to a Gist example for GitHub, but should be expandable to GitLab:
https://gist.github.com/vidavidorra/548ffbcdae99d752da02

Update an existing deployment using deployment manager update API

I use Java APIs for the CRUD operations of the google cloud deployment manager API. I can create, preview, delete deployments OK.
But when I try to update an existing deployment that's in preview mode, the API returns the below error.
Deployment in preview must not have a target with UPDATE
The same inputs works OK for create and preview. So, I'm sure that the inputs are OK.
I looked up for others who have reported this issue.
Here is one such report but no solution.
Does anyone know if there's a git hub repo for google cloud deployment manager where we can report this issue?
As mentioned in the answer here, is a known issue and you can still use the workaround suggested.
I have created an issue tracker for this error message. So, you can add your comments there and follow up for upcoming updates.

How to find github pages repo when using custom domain?

I would like to know what is to know what is the github repo of that site:
https://cdn.rtlcss.com/semantic-ui/2.2.6/semantic.rtl.css.
I know that it uses github cause when accessing to https://cdn.rtlcss.com/semantic-ui/2.2.6/, we get github 404.
The reason is that I want to contribute to it.
Found it by looking for rtlcss in github.
https://github.com/RTLCSS/cdn/tree/gh-pages/semantic-ui/2.2.6

How to create a Module for AWS SDK

I am trying to develop a custom module for AWS-IOT, Here i got module to access AWS services but the existing module is not supported for AWS-IOT which is the new service launched by Amazon.
I have downloaded the AWS-SDK but here i am unable to find .m files.
Please let me know if you need more info.
Thanks, Rakesh Kalwa.
If AWS marketplace modules is not working then you maybe try another open source module ti.aws. please check that.
And if still not working then you can also create your new module based on AWS SDK. for modules development help Please visit Extending Titanium Mobile.

WS02 GREG ERROR when deploying carbon archive

I am trying to upload a carbon archive in the registry. Everything seems to be OK when I add a new application, but the log show the following error:
An error occurred while determining the latest version of the resource at the given path:
/_system/governance/trunk/wsdls/.... (path to the wsld deployed)
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: -1
I log with the admin user and everything that should be upload is in the registry.
Any help?
Thanks,
I tried to reproduce this with WSO2 G-Reg 4.1.1 but unable to reproduce it.
Please indicate the G-Reg version you have tried out this scenario.
When you upload the CAR file from Management Console, make sure to remove the previous version of the same CAR file before you upload the newer version.
This error seems to be related versioning.
Since you remove the previous version of the CAR file, the aforementioned suggestion will solve your problem.
Thanks and Regards,
Harshana
WSDLs are stored in the /_system/governance/../trunk/wsdl/.. location if you upload them via management console or upload the resource from Developer Studio Registry Browser.
But when you deploy a WSDL via a C-App, when creating the registry resource from Developer Studio, you specify a location to deploy. Hence the WSDLs deployed via C-Apps are deployed to this specified location but not the other location.
Therefore from your proxy service, you should refer the location you have mentioned to deploy your WSDL but not the default location.
Once you fix this, your Proxy service will work fine.
Thanks and Regards,
Harshana