How can I export issues from IBM Cloud's Git Repos and Issue Tracking - ibm-cloud

I have a project on IBM Cloud's Git Repos and Issue Tracking service (built on GitLab CE) at https://git.ng.bluemix.net. I'd like to export the issues in my project for reporting purposes, but I don't see any option provided in the project UI. Is there some way to export my project's issues into a spreadsheet?

At the moment, exporting GitHub issues to CSV appear to only be supported in Enterprise editions of GitLab.
However, there appear to be third party options for Community Edition. See the thread here for more details.

I just wrote a blog post on this on IBM developer works, entitled Getting Data from your IBM Cloud GitHub Project. The blog is short, its a quick read.
The the code I used (Python 2.7) is out on GitHub, in a project called IBMCloud_GitLab_CSV. It probably doesn't do exactly what you want, but the code is pretty simple and it does dump the data into a CSV file which you can use.

Related

AzureDevOps Exporting the ProcessTemplate

We have created a process template on the Enterprise level access on Microsoft AzureDevOps platform. We were looking to export the process template so that it can imported for some other organization. However we do not find an option to do so. Can anyone help?
The only way I've found so far to export inherited processes to other organizations is to use the process-migrator tool that's on GitHub made by Microsoft. There are some wonky things about it that don't totally work but hopefully should be a good start:
https://github.com/Microsoft/process-migrator
You download and install dependencies on the tool then you can run migrate or export/import (I think I usually do export/import).
I think that it works okay as-is except for if you have work item rules that are type CurrentUserIsMemberOfGroup, and picklists don't export correctly, but you'll want to do some testing of the tooling first. I also found out recently that this tooling uses an old SDK/API version (API v4.1) so hopefully it will be updated soon.
I am not sure through Azure DevOps UI but there are methods in Azure DevOps Services REST API
Export Process Template REST API Documentation
Import Process Template REST API Documentation
Parameters are pretty straighforward and well explained in MS Documentation.

How to access Atlassian cloud?

I have a huge wiki on redmine and I want to move it to confluence. I found this project https://github.com/vile/redmine2confluence-wiki that would do the job since Atlassian doesn't support this functionality. My problem is that I don't know how to run the script on Confluence server since I am using their cloud. Can anyone guide me ?
The majority of the process should be run on your redmine environment provided it has internet access & has python installed.
The last step cannot be performed for Confluence Cloud
Here's the part (at the end) which confirms this:
This will result in a script called fix-author.sql to be run on the Confluence server.
Being cloud, you don't have access to the underlying Confluence server or the database for that matter.

IBM Eclipse Tools for Bluemix

new to ibm bluemix. Steps to be followed to develop a application on eclipse and to depoy using IBM Eclipse Tools for Bluemix and cloud foundry as well.
You could find all information you may need for your question in the Bluemix Documentation
https://console.ng.bluemix.net/docs/
On the following URL you could find a "Step by step" guide using Bluemix tool:
https://console.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html
Instead on the following URL you could find a "Step by step" guide using CF push for a Java app on liberty runtime: https://console.ng.bluemix.net/docs/starters/liberty/index.html#liberty
First of all you can follow the instructions here for installing the IBM Eclipse Tools for Bluemix https://marketplace.eclipse.org/content/ibm-eclipse-tools-bluemix
Secondly, you can follow this tutorial to know how to push an application to Bluemix using the tooling. https://www.ibm.com/developerworks/community/blogs/941f1004-4e3d-4a4b-87ed-30d8045fde4e/resource/IBM%20Bluemix%20Tutorial%20-%20Connecting%20Eclipse%20to%20Bluemix%20v2.0_files/IBMBluemixTutorial-ConnectingEclipsetoBluemixv2.0.pdf?lang=en
There might be some UI differences in the IBM Eclipse Tools for Bluemix tools that you will install from the first link vs what is shown in the second link. These differences are however just cosmetic (like using terms IBM bluemix vs Cloud foundry while defining a server). Overall the functionality remains the same.
Also apart from the use-case described in the tutorial (second link), you can also create new projects (web projects) in eclipse and push them to Bluemix.
In order to test your projects locally, you would need to install local WAS liberty profile (in case of JavaEE projects) or local node js (in case of nodejs apps). You can do all the testing locally on the local servers and once you're confident about your development, you can push the projects to Bluemix.
Thanks,
Gaurav
Though this is a very old thread but this will be helpful for future references. One can setup the Bluemix server in an IDE like eclipse by straight forward adding a new server and can push the application directly. However a more user friendly approach is to deploy it from cf commandline. You can deploy the application independently or even package it with the local server. You even have the options to provide inputs like hostname in the commandline. Please go through the Bluemix docs for detailed specifications.

Developing with Azure Mobile Services?

What is currently the "best" way to develop a back-end system in Azure Mobile Services?
Specifically, what tools are available? From what I've seen, most examples just go to the Management portal and manually add a few lines into the script window. This is worse than using just Notepad, and doesn't have any concept of version control...
Is there any way to make a project in VS 2012 that contains all the Node.js code that will run in the Azure Mobile service? Is there a way of fully running that code on a local development environment that mimics the Mobile Services?
I need to have server-side code with much more complexity than is shown in most of the Mobile Services samples or documentation that I've been able to find.
I have a web site, and a Win 8 Store App that need to authenticate against, and access relatively complex data structures from a back-end database. The solution being pushed right now all seem to include Mobile Services at the center of it, using simple REST against raw tables, but all the examples are too simple to be useful.
Can someone point me to a "real-life" sample of using Mobile Services, and a "mature" way of developing and testing such a system using the tools in Visual Studio?
Thanks.
Why you have no other option than the Management portal is really beyond me. It seems very awkward for a C#/.NET developer to go back to Notepad style programming with console.log() debugging.
What I would love to see is some Node.js entry points that you could connect to a regular C# assembly which could fulfill the request (as in ASP.NET MVC or Web API) having the full .NET Framework at your disposal.
What I could see as a possible architecture is to have:
ASP.NET MVC hosted on Azure
--- writes processed data with logic to --->
Azure SQL DB <--- reads from --- Azure Mobile Services ---- bridge to ---> Mobile devices
Or
Cloud Worker Role on Azure ---- crunching/processing ----> Azure SQL DB <---- reading/writing raw data ---- Azure Mobile Services ---- bridge to ---> Mobile devices
You can use the Mobile Services facility for mobile devices facilities, scheduling and push notifications with limited code and do most of the coding in a managed .NET environment.
The AMS (Azure Mobile Services) along with Azure has advanced dramatically since this post was written and the replied answers.
Some of this stuff still holds true. If you have a ton of node.js written not in the Azure cloud portal, you will want to copy and paste to the portal online, custom api calls section and even perhaps sql backend tables for CRUD operations.
The hope for C# developers is that it is NOW in preview mode in which YOU CAN skip node.js and build everything without node.js very shortly... Some bugs to work out, but in 6 months this will be fairly solid.
I had questions and issue and a guy named Carlos carlosfigueira was very helpful.
Azure Mobile Services - Getting more user information
Josh covers unit testing server-scripts here: http://www.thejoyofcode.com/Unit_testing_Mobile_Services_scripts_Day_7_.aspx
In this tutorial, he uses the Mocha testing framework for JS (id TDD mode) and walks through an example for testing an INSERT script that encrypts the value of a particular property (text) and a read script that decrypts it (value is encrypted at rest in SQL db).
You can also find aggregation of links and tutorials here.
I would suggest that you build this solution using Windows Azure Mobile solutions especially it supports the Node JS NPM right now, which means you can create the API you want on the Windows Azure using the Node JS NPM and can work with it using WAMS easily. have a look on the following link it will help you understand what I want to say more.
http://weblogs.asp.net/scottgu/archive/2013/06/14/windows-azure-major-updates-for-mobile-backend-development.aspx
For the Client I also suggest that you build it using SignalR which is designed for cases such yours where real time applications require a lot of transactions from the server side.
http://www.asp.net/signalr
you can also find more details about how you can integrate both of them in the following link: http://hhaggan.wordpress.com/2013/07/12/signalr-node-js/
I hope these help you, let me know if you need anything else.
For running locally, the mobile service has the same Kudu environment available in azure websites, so you can browse to https://your_service_name.scm.azure-mobile.net If you navigate to the Debug Console from the top nav, you can download everything running in the site/wwwroot folder.
You can run this nodejs project locally (On windows only if you require the SQL Server npm package). Your code is in App_Data/config/scripts. If you replace the downloaded content with your current local git working copy, you can develop and debug locally, and then push changes as usual.
Tools I use:
Eclipse with JS environment (or any nodejs IDE).
Git
Postman
Steps:
Enable source control to your azure mobile service.
Pull to your local and create a eclipse project with the source.
Make changes and push.
Test with POSTman
This procedure allows me to develop really fast and eclipse tell me the common JS errors. But it has obvious downside:
No debugging (I use console.log)
The project ended up with a lot of commits (its hard to use git for proper source control)
I just did a blog post on running Azure Mobile Services locally: http://www.mikelanzetta.com/2014/09/running-azure-mobile-services-locally/ - basically it interrogates the API and starts up express, and allows you to run mocha yourself locally. It's a bit cleaner than pulling down the full wwwroot from the scm link, and I found using my local runner as a git submodule made it easy to work with (and easy for me to use VSO for managing my tests).
Anyway, for actual development, I use the Git integration and WebStorm - it automatically figures out the tasks in my local Gruntfile and makes it easy to run and test. For once it's deployed, Postman is helpful.

what is the official/active home of the MercurialEclipse plugin?

I'm having trouble finding the official home of the MercurialEclipse plugin (is there one?), and I have a weird feeling there are actually multiple projects by this name.
Here are some of the projects I've found:
http://code.google.com/a/eclipselabs.org/p/mercurialeclipse/
http://www.javaforge.com/project/HGE
http://www.intland.com/products/mercurialeclipse/overview/
https://bitbucket.org/mercurialeclipse/main/wiki/Home
See also this ticket I filed: http://www.javaforge.com/issue/23290
It appears the home has moved back to bitbucket.
https://bitbucket.org/mercurialeclipse/main
At least that is where active bugs/feature_requests are supposed to be filed, according to this note.
New project home on Bitbucket
Furthermore, as of today (9/20/12):
javaforge is at MercurialEclipse 1.9.1
bitbucket is at MercurialEclipse 2.0
The MercurialEclipse 2.0 version has shifted to using JavaHg for its mercurial interactions.
Since Intland Software (owners of JavaForge) are developing and maintaining the plugin, the official web site is http://www.intland.com/products/mercurialeclipse/overview/, and their official project page http://www.javaforge.com/project/HGE.
The BitBucket page stems from the time when the plugin was developed by Vectrace, but they transferred the project maintenance to Intland, so it’s no longer relevant.
Regarding the Google Code page, see http://www.jroller.com/andyl/entry/how_open_is_mercurialeclipse — At some point in time Intland started requiring a login to JavaForge to use the plugin, which provoked a let’s say... vivid response. However they reverted this behaviour quickly, and as Intland has contributed so much to the project, I forgive them. Before they jumped in, the project had stagnated. In the meanwhile one of the original Vectrace developers of the project created this Google Code project though. If you are sympathetic to that, I guess you could consider the Google Code project the official repository.
The google code one should be the official home.
However to install it the official update site is :
http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable
Gone restricted again at intland:
www.intland.com/products/mercurialeclipse/overview/
www.intland.com/products/other-products/
Their codebeamer tracker and repo is stuck on 1.9.1:
www.javaforge.com/project/HGE
So i guess, bye bye javaforge.
Both code.google.com and bitbucket.org projects have code and are accepting issues.
code.google.com/a/eclipselabs.org/p/mercurialeclipse/
bitbucket.org/mercurialeclipse/main/overview
Of these, bitbucket seems to be more up to date.
They mention however the same URL for eclipse installer:
http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable