repository

Implement repository service in java

I want to have a repository of Url to music(audio and video) with different file types (mp3,ogg,flv,avi) which can be used as a web-service. Is there a free or open source solution for a repository (for example written in Java) which could help me, or do you have some recommendations, or patterns that could help me? ...

Code Repository. Whats a good one?

I am trying to setup a repository at my work for all the code (mostly C, Assembler, batch basic) that my colleagues and I use. I know some things about repositories but cannot properly decide which ones are good or not. I have no experience with them but so far Apache Subversion and Python's repo look good. Are there any others that are ...

remove artifacts from nexus repository

Hey, I deployed some artifacts and I copy-pasted wrong name of those artifacts. I remember that manual playing with repository content brings problems. What is the recommended way for dealing with these situations ? EDITED: I thought there was no way of deleting artifacts from hosted repositories via web interface. Now I see that in t...

Call the repository`s CRUD-methods from the Controller or ViewModel ?

Hello all, thats the way josh smith is doing the add-a-customer-procedure: **CustomerViewModel**.cs: public void Save() { _customerRepository.AddCustomer(_customer); } **CustomerRepository**.cs: public void AddCustomer(Customer customer) { //... _cus...

Subversion FSFS - how are revisions stored in the repository?

Hi All, I'd like to understand how subversion stores revisions in FSFS, and how a view/shapshot is constructed for a given revision number. What I have gleaned from Googling is that FSFS is a simple directory structure, with sub-directories for each revision like: ..svn/rev/0/ ..svn/rev/1/ ..svn/rev/2/ Presumably only the changes (d...

Searching repository for plugin struts2-archetype-blank for m2Eclipse

hello, i'm Searching repository for plugin struts2-archetype-blank for m2Eclipse ...

Kohana websites repositories

I'm trying to work on Kohana and looking for some code. All I found on github is kohanajobs and wings source codes. I'll be thankful for other repositories or sources with minimal changes in structure and core. ...

I want to deploy a jar AND it's dependencies to a remote repository.

Basically, I have a project and a Continuous Integration solution which I have no admin access to, that can't reach out of our network. Consequently, I want to deploy all of the jars for the project to our central maven repository which the CI solution can reach. They are in my local repo but it's a pretty complicated project. Can't I ju...

Getting GitHub and Gerrit to play nicely

I host a private repo on GitHub. I also want to use Gerrit, particularly for the Hudson Gerrit Trigger plugin. AFAICT, there isn't any simple solution for using them together. I'd appreciate any help on any of the following wants. What I want Clone GitHub repo and add to Gerrit's projects either: manually, or during init Merge ch...

How to update my local version of Drupal with a patch (BZR)

I have a website running locally on Drupal 6.14 and I need to upgrade it to drupal 6.19 The website is version controlled with BZR. I know the BZR basics but I don't know how to update my repository the "correct" way. I don't want to simply overwrite all drupal files and commit the changes. I want to compare my old version with the new ...

Nerd Dinner - how is the return type of the EF queries determined?

In Nerd Dinner's Entity Framework repository, the queries' return type corresponds to the model and not to the EF conceptual entity. public IQueryable<Dinner> FindAllDinners() { return db.Dinners; } ... public ObjectSet<Dinner> Dinners // NerdDinner.Designer.cs, line 76 The type of Dinner is NerdDinner.Models.Dinner. I noticed ...

Register custom form so I can inherit from it from multiple projects, without copying the form to the Object Repository folder

I've got a custom frame I need to inherit from in multiple projects. This frame includes some code and some components, and it resides somewhere on disk, in it's own project directory. I don't want to COPY it to the Object Repository folder, that doesn't seem right to me: I'd end up having two copies of the form, one in my Mercurial-back...

Tomcat Nexus URL mapping for Maven POM

Hi, I'm running the maven repository manager Nexus on Tomcat. When I setup my pom file, my repository URLs all look something like http://myhost/nexus/repo-name. I'd like to get the word "nexus" out of the URL. We're currently transitioning from an older repository manager and now we need to update all of the URLs. However, if we had a ...

Ways of implementing Unit of Work in ASP.NET MVC

I'm currently researching how to add the Unit of Work pattern to my existing ASP.NET MVC application that uses NHibernate. I'm seeing a lot of variety in the various implementations and I'm having trouble determining which methods will work best in a given situation. To help, I thought I would ask the Stack Overflow community to list t...

Help needed on ASP.NET MVC data processing

I'm developing a web project with service and repository layers in ASP.NET MVC 2. I'm using Entity Framework. I have two generated EF classes. Namely, Company and User. Company has two fields CompanyID {int} and CompanyName {string}. User has three fields UserID{int}, UserName{string}, BirthMonth{smallint,can be null} and CompanyID{int,...

cancel password of svn list

how i can cancel the password of svn list .... when i execute svn list it is Requests the password twice... i need to execute it without password ...

How i can find out which is the latest revision number in the repository?

How i can find out which is the latest revision number in the repository? ...

Help adding files to new Subversion repository

I have an application running on my server which currently is not using any version control. I would like to start using Subversion version control and have signed up for a hosted Subversion Repository. My question is, how do I populate my hosted Subversion repository? Do I need to install Subversion on my server as well as having th...

How to test that objects get updated using a fake repository

Say I have the following business logic: foreach (var item in repository.GetAll()) { if (SomeConditition) { item.Status = Status.Completed; repository.Update(item); } } Now I write the following unit test: public void Test() { var repository = new FakeReposit...

Is it really necessary to implement a Repository when using Entity Framework?

I'm studying MVC and EF at the moment and I see quite often in the articles on those subjects that controller manipulates data via a Repository object instead of directly using LINQ to Entities. I created a small web application to test some ideas. It declares the following interface as an abstraction of the data storage public interfa...