How can I convert a 'normal' Git repository to a bare one?
The main difference seems to be:
in the normal git repository you have a .git folder inside the repository containing all relevant data and all other files build your working copy
in a bar Git repository, there is no working copy and the folder (let's call it repo.git) contain...
Suppose the following route:
{region}/{storehouse}/{controller}/{action}
These two parameters region and storehouse altogether identify a single entity - a Storehouse. Thus, a bunch of controllers are being called in the context of some storehouse.
And I'd like to write actions like this:
public ActionResult SomeAction(Storehouse sto...
Hi all,
I'm fairly new to both Subversion and Subclipse and am seeing some issues that lead me to believe there is a difference between updating to head, and synchronizing. Specifically I find that when I try to revert (using the subclipse history), I often get a message saying "Cannot reverse merge a range from a path's own future histo...
My domain entities are lined up like a tree:
Root
- Child 1
-- Child 1.1
-- Child 1.2
- Child 2
-- Child 2.1
-- Child 2.2
We ended up with 2 (rather strong) opinions on how a repository should be designed around these domain objects:
Opinion 1:
I need 2 repositories Child1Repository & Child2Repository which gets managed by a RootFac...
I'm currently setting up a new project, and I have run into a few things, where I need a little input.
This is what i'm considering:
I would like a generic repository
I don't want to return IQueryable from my repository.
I would like to encapsulate my queries in specifications.
I have implemented the specification pattern
It needs to ...
Hi guys!
I would like to know if there is a solution (open source project or webservice) available that offers a svn or git repository together with an apache server and database. I am searching for such a solution because I would like to get the benefits of developing with a subversion system. On the other side I need a preview of the f...
Possible Duplicate:
Which files in a Visual C# Studio project dont need to be versioned?
when creating a repository, what do you include in the repository, should folders like Resharper, Debug and Bin folder be included? if not, is it possible to exclude files/folders from the unstaged changes check?
...
Possible Duplicate:
Repository pattern tutorial in C#
anybody knows where can I find an example of Repository Implementation using just ADO.NET without any 3rd party components like Nhibernate
...
I have class called 'Tool'. Tool has properties like: Name, Description and some specific others. Tool is special because Name and others are read only but description can be modified by users.
Count of tools is constant and known at development time. It is not Value Object because I need to query them and show to users where they can u...
I see a lot of sites referring to git, github, svn, subversion etc, but I never really knew what all of those things are. I also hear a lot of terms like 'svn repo', 'commit', and 'push' - I tried googling but it seems that I have so little knowledge about the subject that I don't even know where to get started.
Could someone give me th...
In a blog application developed using domain driven design a 'Post' entity has a related collection of tag entities.
On creating the post (e.g populating the object from the UI) i would like to call a third party API via REST which takes the content of the post and extracts semantic tags (link text) for association.
Main Question : Wh...
Hi there,
I was thinking of implementing a per-object Repository (e.g. a Person repository, a State repository etc.) before deciding on a line of business Repository instead BUT I still have a question regarding the passing in of an ID (identifier) type with a generic.
In a nutshell, a Person may have a GUID identifier, a State/County ...
Since there isn't respositories for value objects. How can I load all value objects?
Suppose we are modeling a blog application and we have this classes:
Post (Entity)
Comment (Value object)
Tag (Value object)
PostsRespository (Respository)
I Know that when I save a new post, its tags are saving with it in the same table. But how c...
i am looking for repository pattern sample that i can learn from it and i have read lot of blogs and seems like everyone has their own opinions towards -implementing repository pattern-
any help?
Thanks,
...
I'm looking for advice on a code maintenance situation I expect is common, but difficult to describe in three words, so difficult to find info about online. Note that I'm talking about a code project branching, but not in the sense of a 'subversion branch'.
There's an existing software product that is still being developed. Another team...
Hello all,
I have this:
public interface IRepository<T> where T : class
{
void Delete(T entity);
void Add(T entity);
void Attach(T entity);
void Detach(T entity);
void SaveChanges();
}
now for every of my Entity I make concrete classes implementing the generic IRepository =>
public class SchoolclassRepository : I...
I have a SVN repository with a user in passwd:
[users]
Mark = 8d9"'8V2;
Now i would like to restrict this user privilages (permissions) only to commit and update this directories:
/CurrentProject/Printer
/CurrentProject/Scanner
/CurrentProject/Documentation
How to acomplish this?
...
I want to create a personal digital archive.
I want to be able to check digital files (some several years old, some recent, some not yet created) into that archive and have them preserved, along with their metadata such as ctime, atime and mtime.
I want to be able to check these files out of that archive, modify their contents and comm...
I'm intrigued to test new frameworks in the Java world, and decided to create a new project that takes advantage of Maven and db4o. I'm starting to get a hang of Maven, but I have a hard time adding db4o as a dependency to the project. First problem is that db4o doesn't exist in the official Maven repositories. Next up comes the problem ...
I have a User table and a ClubMember table in my database. There is a one-to-one mapping between users and club members, so every time I insert a ClubMember, I need to insert a User first. This is implemented with a foreign key on ClubMember (UserId REFERENCES User (Id)).
Over in my ASP.NET MVC app, I'm using LinqToSql and the Repositor...