repository

Repository Pattern question - is it acceptable to use a repo inside of a different repository?

So I have a repository for basically each entity but my model has a relational division where entities aren't directly related in the model. So what I need to do is query off of that indirect relationship and return a collection of entities. Is it appropriate to initialize and invoke queries on a different repository from the one you are...

SVN hooks for windows

I did a little googling and found that there isn't really a resource of SVN hooks for Windows. So I figured I'd start a wiki here to centralize it. If you contribute. Please be sure to indicate: The name of the hook What the script does The actual script NOTE: I suspect posting an epic script will not be useful. ...

Public Perforce Open Source Repositories?

While there are many open source repositories using CVS, SVN, and git, I'd like to know if there are any built atop Perforce, as I've been happily using that for CM at home for many years now. Perforce provides a public depot, but the projects hosted there appear to be strongly Perforce-oriented. What I'm working on has nothing to do wi...

Best way to use NHibernate with the repository model

Hi guys, I have a repository class that defines some basic Get/Save/Delete methods. Inside these, I use NHibernate to do the work on my business entities. For example: Public Class SecurityRepositoryNHibImpl : Implements ISecurityRepository Public Function GetUser(ByVal UUID As System.Guid) As Entities.User Implements ISecurityRepos...

livelink integration with asp.net web application

I am building a standard asp.net LOB application. i am planning to have some livelink urls showing up in some parts of the application, where the user clicks a download link and the document needs to be downloaded from the corresponding livelink URL and a save-as dialog needs to come up. for any direct http document URL, it is possible...

When do i need to flush Rhino Commons UnitOfWork?

When using Rhino Commons UnitOfWork (in a UnitOfWorkApplication for ASP-MVC), I like to use the Rhino Repository static class to save entities like this: Repository<Car>.Save(new Car(Id = 1)); I find that I can then get the entity out immediately after that call using: Car car = Repository<Car>.Get(1); This works fine. However, whe...

SVN: Best way to share common code across projects

I have multiple website projects in a single repository each of which have a copy of WordPress. Updating WordPress means updating all project folders and keeping redundant copies. This is useful for my rsync scripts which sync the entire folder. It also gives me fully working local copies of the site. There are a number of ways I can se...

Is there a way to use a repository as a "template" to start a new repository?

I have a Subversion repository that contains the externals and some files to start creating a new site, such as a basic login setup based on libraries. What I'm wondering is if there is a way to "copy" this repository into another that will keep the externals so I don't have to set them up again? I'm not worried about keeping the histor...

Should a Model for a View be an Aggregate with its own Repository?

Should the Model that will be passed to the view be completely defined by a single call to a single repository. In other words, is the Model a single Aggregate, or should my Model be constructed from separate Aggregates, each with its own Repository, in the service layer? The way I have it now, is I simply call a single repository to fi...

how to branch code to another repository for SVN?

We have 2 repositories, one for current code, one for project management. Now we need to branch code to the project management repository. SVN gives me an error, and I found in the doc that SVN cannot do this work (different repository), So I export the code and check in to the project repository. The questions: how to branch code ...

Display list of available Roles from DB as checkboxes like NerdDinner does with Countries

I have an ASP.NET MVC project in C# using Forms Authentication and Active Directory is the Membership Provider (users login with their existing uid/pwd). However, I would like the roles to be supplied by aspnet_Roles (the default table created by the application). In my Web.config I have: with default setting for this node. I succes...

SVN and VSS sync

Can I sync files from SVN to VSS automatically?. My personal repository is SVN and my client hava a VSS repository. I'll would to like sync the repository throught scripts or something like that. Can I? Thanks ...

How to modify repository settings in Redmine?

It might sound like a dumb question but I can't for the life of me find the answer to this one. We have a project set up in Redmine, linked to a SVN repository. Everything is working fine, but we recently did a repository relocation and we need to update the Redmine setting for it to point to the new repo. The problem is, the option is...

Looking for web site test architecture with SVN

We are looking to do two things: Set up an offline web test platform, and Implement version control with SVN. The posts I've seen suggest the SVN repository should exist as a separate data store from the test and live platforms, probably on a different server. Can anyone point me to articles/posts on how to properly stage code be...

where should I install development tools to?

At work we're using NUnit, FxCop and some other tertiary software on our projects. Right now we have the project files for each app stored in the project's repo and the software is installed per developer machine (well... currently only one, me). We're hiring a couple other developers in a few weeks and I'm trying to set things up to b...

Unfuddle svn access behind a proxy

I am using unfuddle to host some private projects, unfuddle is an excellent solution to being able to update and modify my sources through SVN anytime and when I feel like to even when I’m not home. The problem is at work we are behind a mandatory proxy which I cannot disable, keeping me from accessing my unfuddle repository through SVN...

How do I set up m2eclipse to see the archetypes in repo1.maven.org?

As in the title. I can't find any archetype catalogues for repo1.maven.org For example, I want to use spring-ws-archetype. How do I set things up so I can see it in my options setting up a new Maven Project? ...

Can not clone mercurial (hg) repository via http.

I can't clone my repository via http: abort: 'http://MYREPO' does not appear to be an hg repository! Firstly, I created a new repo by hg init MYREPO followed by adding some file and commit. The dir with my repo is password protected but there is no sign of problem because of it, I tried both methods of cloning: (on my local machine) ...

Spring online repository for Maven

I've just installed Maven2 for the first time. By default it pulls down a few useful jars into a local project: jakarta-commons, junit etc. I wanted to pull in the latest Spring release (2.5.6 at the time of writing). But the online repositories I looked at (iBiblio and Maven) only had much older versions of Spring libraries. Are the...

Is it possible to set-up a personal SVN Remote Repository which can be accessed through the Internet?

What I want to happen is have an SVN server on one computer, and have TortoiseSVN on other 3 computers, for example, and these 3 computers will be able to commit and checkout files from the SVN server, all of this via the Internet, and as much as possible, for free. Is this possible? Can you point me to some good tutorials? Thanks So fa...