repositories

Maven Best Practices

Hi, I have a couple of questions about maven best practices and managing repositories. In my environment, I do not want to go out to the central maven repository but rather store everything in an internal repository. Should I just require each user to put the information in settings.xml file that disables using the snapshots or releases...

Maven repository configurations

Hi - I've asked a similar question in which part of this was addressed, but I'd like to expand in more detail. When configuring maven to look at internal repositories, is it best to put that information in the project pom or in a user's settings.xml? An explanation on why would be really helpful here. thanks, Jeff ...

How to use an Internet Subversion respository when developing code?

I've painted my self into a problem working with a Subversion project from CodePlex - for this I asked for help here. I have a local repository and CodePlex has it's Internet repository for the project, and the two don't mix :-(. But my dear departed dad used to tell me that the difference between a clever man and a wise man is that the...

How to configure Artifactory using PostgreSQL instead of MySQL?

How would one configure PostgreSQL instead of MySQL to run artifactory? ...

Is Source Code of Google Code Open Source

We in our company are looking to setup a code repository to which multiple groups can contribute. I am looking for a system like Google Code with following features: i. Wiki ii. Issue Tracker iii. Source Repository (SVN integration) iv. Control the access to make modifications to the code The closest open source alternative I could ...

Repository Pattern Best Practice

So I'm implementing the repository pattern in an application and came across two "issues" in my understanding of the pattern: Querying - I've read responses that IQueryable should not be used when using repositories. However, it's obvious that you'd want to so that you are not returning a complete List of objects each time you call a m...

Defining boundaries in terms of repositories

I'll set the scene first... We use Subversion and currently have a reasonably large Main repository. I'm looking to break it down though, with the possibility of moving to Git at a later date. The reason being is that a) Git can't do subfolder checkouts so favours smaller repo's, b) we can use branching a lot more (branch per feature). ...

Does anyone have a script to handle multiple hg repositories at once?

I have a project that is combining multiple hg repositories (different components) to build a single application. I'm looking for a cross-platform tool to support performing an operation on multiple repos at the same time (e.g. tag, pull, push, commit etc...) Essentially, I'm looking for the 'repo' script that Google wrote for Android, b...

Listing all SVN repositories

In subversion is there a command to list all the available repositories registered on a particular host? For eg., In clearcase, a "cleartool lsvob" would give me the listing of all the versioned databases in a given region. I have not been able to find anything akin to this in subversion. Thanks ...

Failed to proxy to maven repo via Nexus

Hi all, I am working with Nexus free addition (1.3.6) and I am trying to add a proxy repository as described in the Nexus book - Google Caja: http://google-caja.googlecode.com/svn/maven. After adding a new proxy repository and configure the remote location, I tried to re-index the repository but could not see the related artifacts. wa...

Gitosis Directories of repositories per user?

I was just wondering, is there a way to set up gitosis so that a user would have their own directory to which they could push any number of repositories that they want, and essentially have admin privs on that directory? This might be kind of confusing, but essentially I want something like how on github all your repositories are accessi...

Have Project Part of Two Git Repositories?

Consider the following scenario: Someone has a project on Github that might be updated once a month, and it has X functionality. I want to take that project and modify it slightly so it no longer functions like X but functions like Y, but I still want to stay up to date with their changes. How do I do this? I'm familiar with merging ...

"Points of view" in the object model

We have two domain types: Users and Locations. We have a method on the LocationRepository: GetUserLocations(). The existing implementation: var user = UserRepository.GetUser(userId); var locations = LocationRepository.GetUserLocations(userId); To me it makes more sense to retrieve the locations associated with a user from the User t...

Combine Separate Git Repository Branches

I have two separate git repositories. One is mine, and has "Branch A", the other was developed by someone else and has "Branch B". They both have the same master branch. How do I import his branch inside my git repository? So I want the result to be: $ git branch Branch A Branch B master ...

svn commit to multiple repositories

hello I have have a main project I am working on, which has several modules/directories. The main project is bound to local svn repository. however, whenever I do commit, I would like to push some modules/directories to Google code repository as well. However I only want to update from local repository. Is there a way to do it automat...

Multiple django-apps on python path or in project

I have a decent sized django project and when I originally built it I kept all the apps in an apps folder under the project root. project/apps/articles, project/apps/video etc. After a while I decided to move to best practices and make them more reusable so I moved them into their own separate apps then symlink'd them to my python path....

How to rebase one repo to another

Let's say I have two different repositories like so: Project 1: Init---A---B---C---HEAD1 Project 2: Init---D---E---F---G---HEAD2 Is there a way to rebase Project 1 (Init to HEAD) to the Init commit of Project 2 so it looks like this: Project 1 & 2: A---B---C---HEAD1 / Init---D---E---F---G---HEAD2 The content of Project 1 &...

Simplest way to manage centralized git repositories on a Linux box ?

I want to use my Linux home server as a central repo for having access to my git projects anywhere. I've heard about gitosis, but was wondering if there might be a simpler/better way, maybe more native to linux and git itself (i.e. no python), to do this ? ...

spring.net application scope repository object on loadbalanced application

Hi, We have an application running on a loadbalanced environment, let say webserver A and B. The loadbalancing is on the HTTP level, so the loadbalancer directs each user request to one of both webservers. The scope of the repositories in the application is managed by the spring.net container, and the application relies on data that ca...

Multiple Git repositories in one directory

Hello, I would like to deploy a directory to multiple developers having different permissions. So this is one thing Git cannot do. What about creating two repositories in one directory and assigning them different file lists by excluding files managed by the other repository with the .gitignore file. Example: /www/project/.git for all ...