repository

How to ignore folder during subversion merge

南笙酒味 提交于 2019-12-06 19:17:23
问题 I have a whole bunch of changes that I need to be merged in to my branch but I want to ignore a specific folder during the merge. Is it possible to do this using Subversion? If so then how can I do it? EDIT: The folder that I want to ignore is in the repository but I don't changes to be made to this folder during the merge 回答1: You could do the merge as normal, then do a recursive revert ( svn revert -R somefolder ) on the folder where you don't want any changes before committing. Keep in

Best way to handle old snapshots in local repository?

落爺英雄遲暮 提交于 2019-12-06 18:46:54
问题 We have a Nexus local repository manager which handles all our internal projects (as well as mirroring outside repositories). For our internal projects, we only keep the most recent version's snapshot builds. For example if we had ProjectX 1.0, 1.1 and 1.2-SNAPSHOT, as soon as 1.2 was released we would delete 1.2-SNAPSHOT and then have 1.0, 1.1, 1.2 and 1.3-SNAPSHOT in our Nexus repository. The problem is that our Jenkins server has all the OLD snapshots in its local .m2/repository folder and

How to keep Stored Procedures and other scripts in SVN/Other repository?

若如初见. 提交于 2019-12-06 18:24:51
问题 Can anyone provide some real examples as to how best to keep script files for views, stored procedures and functions in a SVN (or other) repository. Obviously one solution is to have the script files for all the different components in a directory or more somewhere and simply using TortoiseSVN or the like to keep them in SVN, Then whenever a change is to be made I load the script up in Management Studio etc. I don't really want this. What I'd really prefer is some kind of batch script that I

Android Repo init failed

孤人 提交于 2019-12-06 17:55:36
问题 I think i follow instruction from this site very carefully http://source.android.com/source/downloading.html but when i try this repo init -u https://android.googlesource.com/platform/manifest i got the following error. repo init -u https://android.googlesource.com/platform/manifest -b froyo /root/bin/repo: line 1: syntax error near unexpected token `newline' /root/bin/repo: line 1: `<?xml version="1.0" encoding="utf-8"?>'enter code here` I tried several times but no luck from the very

How can I get the list of artifacts in my Maven repository?

孤者浪人 提交于 2019-12-06 17:11:15
问题 Is there a Maven goal to list the artifacts that are stored in my local Maven repository? 回答1: I'm not aware of any plugin doing that and, to be honest, I don't get the point. Maybe you could just use your OS file search feature to achieve your goal. If really you want to do this from Maven, then execute this command using the maven-exec-plugin. Another option would be to use the maven-antrun-plugin if you can find an Ant task allowing to find files. But, as I said, I don't get the point of

Password protected jenkins maven repository server - access from maven

不羁的心 提交于 2019-12-06 16:03:08
I've got a password protected jenkins server with the Jenkins Maven Repository Server plugin. My problem is, as it is password protected, i can't access the /plugin/repository/everything/ repo from within maven ( Could not transfer metadata <metadata> from/to <repo-name> (http://ci.mydomain.com/plugin/repository/everything/): Access denied to: <repo>/<identifier> , ReasonPhrase:Forbidden. ) What i tried: - Putting the server credentials in the .m2/settings.xml - Basic auth: http://<user>:<password>@ci.mydomain.com/<repo> - without any auth none worked... any help would be appreciated. EDIT: My

github fork confusion

人盡茶涼 提交于 2019-12-06 15:54:56
I followed this https://help.github.com/articles/fork-a-repo post to clone a repository locally. After doing that another developer created a branch to the main repository and added some features to that branch. My question is How do I get that branch into my fork. Can I get that missing branch again to my local using git pull upstream/missing_branch command? Thank you VonC You need to add a remote repo ' upstream ' in the local repo (which has for origin your fork) ( git remote man page ) git remote add upstream url://upstream/repo The OP opensourcelover mentions seeing this : git remote -v,

In asp.net-mvc, is there a more elegant way using IOC to inject mutiple repositories into a controller?

与世无争的帅哥 提交于 2019-12-06 15:44:27
I have an asp.net-mvc website and i am using ninject for IOC and nhibernate for my ORM mapping Here is my IOC binding code: internal class ServiceModule : NinjectModule { public override void Load() { Bind(typeof(IIntKeyedRepository<>)).To(typeof(Repository<>)).InRequestScope(); } } and here is an example of how I am doing IOC into my controller code: public FAQController(IIntKeyedRepository<FAQ> faqRepository, IUnitOfWork unitOfWork) { _faqRepository = faqRepository; _unitOfWork = unitOfWork; } The issue is that up until now, each controller had a single table that it was pointing to so i

Cannot install ADT plugin because Eclipse cannot connect to Internet.

筅森魡賤 提交于 2019-12-06 15:26:06
问题 I cannot install the ADT plugin on 64-bit Eclipse on Windows because Eclipse cannot connect to the internet. Consequently, I always get the error Unable to find Repository . I checked to confirm that it is indeed Eclipse which cannot connect to the internet since the internal web browser cannot seem to connect to any sites. Also, attempting to go to a site using external browser works fine. Any ideas about how should I get eclipse to connect to the internet OR a workaround to install the ADT

(Yet another) What's the best conversion from an SVN repository to HG repository(ies)?

北战南征 提交于 2019-12-06 15:09:33
问题 My company has a large Subversion (SVN) repository, and for various reasons, we are considering migrating to Mercurial (HG). I'm hoping to learn the "best practice" ideas for our situation. Our SVN repository is fairly monolithic, and looks something like this: trunk Python_Project_1 Python_Project_2 Python_Shared_Code Flex_Code ObjC_Code ... branches Python_Project_1_Release_1.0.x ... tags Python_Project_1_Release_1.0.0 ... Currently, we are the only consumers of any of our code & other