How to Migrate Git Repositories using migration-tools (https://marketplace.visualstudio.com/items?itemName=nkdagility.vsts-sync-migration) - azure-devops-migration-tools

How to Migrate Git Repositories using azure-DevOps-migration-tools (https://marketplace.visualstudio.com/items?itemName=nkdagility.vsts-sync-migration)
I have added
"GitRepoMapping":{"SourceProjectName":"TargetProjectName "},
However, it is not working.

The Migration Tools do not migrate Git Repos.
https://github.com/nkdAgility/azure-devops-migration-tools
You have to migrate them yourself then the Migration Tools will fix the Git Commit links from the work items to the repo.

Related

A brand new repo with eGIT/bitbucket

I use eGIT within the Eclipse environment, now trying to push a brand new repo to bitbucket. The repo needs to be initialized first at bitbucket remote server before the push, Is there any possibility to start the new repo from eGIT itself with no remote repo?
check the below tutorials about creating new git repo from eclips:
https://www.vogella.com/tutorials/EclipseGit/article.html#create-a-new-git-repository-via-eclipse

Gitlab-CI and Artifactory without Maven?

I would like to build a rpm package from a python module and save it in the Artifactory. Do I have to use Maven or are there alternatives?
You can build the packages the way you are used to, and deploy them to Artifactory via REST API / JFrog CLI / Artifactory JAVA client / Go client.
The best way will be using the JFrog CLI to collect and publish Build Info.
You can read here about integrating with GitLab CI. Although this blog is a bit out-dated, you can see some examples and understand the advantages of collecting the Build Info.

How to stop git update and clear git cache in Windows

I want to stop egit from updating the repository with modifications I make to an app, which I downloaded from git. I found out that I have to update .gitignore file. I did that. But then I read that I have to clear the git cache also. But all the procedures I find are for the linux setup of Eclipse. I don't find any information on how to do this in the Windows environment. On Linux setup, you can issue "git rm -r --cached [filename]", and that stops git from updating the repository with changes to the file. But I can not find the git or egit executable in my setup. I am running Eclipse from the Android bundle setup. This is a zip file that you can download from Android developer site, and it has Eclipse along with Android Development Environment. I am running this on a Windows 7 machine. I think egit is the Eclipse addon for git? Is that right?
I found this link: Eclipse Git Tutorial But it did not help me.

Still have so many errors when I tried to import the source code into Eclipse

I followed the youtube video http://www.youtube.com/watch?v=cFczTgsxktQ, what I have installed right now are Eclipse 4.3 classic and maven 3 and scala m2e and scala.
I took the source code from GitHub.
I have used the following commands.
rm -rf ~/.m2/repository/org/neo4j
git clone git://github.com/neo4j/neo4j.git
cd neo4j
git pull origin master
mvn clean install -Dmaven.test.skip=true
cd ..
Both the Eclipse and the neo4j folder are at the desktop (Linux system)
When I tried to import the existing maven project in the folder neo4j/community, it always has so many errors.
Errors are in the this picture:
However, I can run unit test of each source file. Is this normal?
Try cleaning your projects Menu->Project->Clean...
Sometimes the Maven and Eclipse build dont work perfectly together.

SVN Backed Maven Repo

We are using SVN as a Maven Repositary. We knew that it isn't advisable to have SVN backed maven repository, but still we have to go with it due to limitation within our organization. SVN backed repository used currently is partially implemented.We have developers working from two different geographical location. Problem we face now is whenever a developer adds a artifact to maven repo(svn repository) all other developers have to update the local svn view manually to get the newly added artifact before we do mvn clean package.
IS there a way to automatically download the artifact from svn maven repository to local repo if the artifact doesn't exists locally?
SVN is hosted with a webserver so maven repositary is accessed using HTTPS protocol only. We use maven 2.2 version.
I tried with wagon plugin which would deploy the build output(jar\war) to scm directly. We are not interested in deploying the build outputs. We need a solution to download artifacts automatically from svn maven repo if it isn't exists locally?
You make no mention of how your SVN repository exposes it's artifacts to the development teams. If it truly a Maven repository (conforming to the standard Maven repository layout) then you could just specify it's URL in the "repositories" section of your POM. Updating the local repo would then no longer be necessary.
I suspect that what you have checked into subversion is not a Maven repository layout? You'd lose one of the key benefits of using subversion if each new version of an artifact was being checked in as a new file....
You are describing the functionality offered by any Maven repository manager, for example: Nexus.
I understand your reluctance to embrace a new repository technology, but SCM systems like subversion are primarily designed for tracking changes to textual files.
In conclusion, if you truly wish to keep subversion in the loop I'd suggest one of two options:
Use subversion to control the contents of the local repository. (3rd party dependencies and the artifacts generated by the developers)
Use a repository manager like Nexus. Let Nexus manage cached content from external repositories, but commit the contents of locally hosted repositories into Subversion.