repository

Moving gitolite server

杀马特。学长 韩版系。学妹 提交于 2020-01-01 08:13:09
问题 I have a working gitolite server. However, I want to move it to an identical configuration, but on a bigger machine. Even though I have gitolite working, I am not sure about the strings under it. Mainly its relationship with ssh. I would like to just install the packages gitolite, git-core. And move the repository directories for the git user. None of the keys need to change. Is this correct ? what are the configuration ties gitolite has to the current server. I am working with Ubuntu I was

Bitbucket API 2 - create repository in a team project

限于喜欢 提交于 2020-01-01 05:34:05
问题 I have a team on my bitbucket account, myteam , which contains a project named mainproject . Whenever I want to create a repository inside I only need to execute this command line: $ curl -X POST -v -u myaccount:passwd "https://api.bitbucket.org/2.0/repositories/myteam/repo1" -d '{"scm": "git", "is_private": "true", "fork_policy": "no_public_forks"}' This works. However the issue arises when I create a second project, named secondproject . How am I supposed to tell the API to which project

How should I expose the total record count and IEnumable collection of paged records from my service layer method?

China☆狼群 提交于 2020-01-01 04:54:47
问题 I am using EF4 with code first and have a repository for persistence and a service layer that interacts with it. I have a service layer method that calls a IQueryable method on my repository and returns a IEnumerable containing the entities. I also need to return the total record count so I can calculate the paging links. How should I return both the int and IEnumerable from my service method? Use a out parameter on the method for the total row count Create a separate class that includes the

Mercurial: get information about repositories without cloning them

谁都会走 提交于 2020-01-01 04:23:30
问题 Few days ago I started experimenting with Mercurial, and everything went great, until I decided to try writting a small program, that gets the list of repositories and lists of changeset IDs for each repository from a remote server, allows the user to pick repository and changeset, clones it and updates to the chosen revision. This led to two questions: Is there a way to get a list of repositories from server (besides parsing HTML)? Is there a way to get information, such as tags, branches,

How to recover repository using SVN hotcopy?

纵饮孤独 提交于 2020-01-01 03:04:27
问题 Okay. I used svn's hotcopy to make incremental back-ups, now how do I test that the hotcopies will work properly? I searched the posts here regarding hotcopy. Most of them seem to just be encouraging the use of the svn hotcopy, but not talking about how to recover using hotcopy once made. Is there any advice about how to recover using the hotcopy that I've made? I also checked http://svnbook.red-bean.com/, but couldn't really find anything. Thanks. 回答1: svnadmin hotcopy will always create

How to recover repository using SVN hotcopy?

我是研究僧i 提交于 2020-01-01 03:04:14
问题 Okay. I used svn's hotcopy to make incremental back-ups, now how do I test that the hotcopies will work properly? I searched the posts here regarding hotcopy. Most of them seem to just be encouraging the use of the svn hotcopy, but not talking about how to recover using hotcopy once made. Is there any advice about how to recover using the hotcopy that I've made? I also checked http://svnbook.red-bean.com/, but couldn't really find anything. Thanks. 回答1: svnadmin hotcopy will always create

git project vs repository, what's the fundamental difference?

蓝咒 提交于 2019-12-31 11:44:53
问题 I have two projects that currently use SVN and I'm migrating to git, I signed up to gitorious and there's the option to create a new project or add a repository. I'm just starting out with git so I don't know what the difference is, or rather what it means if I simply use to repositories under one project. If i do that I'll end up with theirDomain.com/myname/repository1 and theirDomain.com/myname/repository2 If I choose to create two projects then I end up with theirDomain.com/project1

git project vs repository, what's the fundamental difference?

一世执手 提交于 2019-12-31 11:43:50
问题 I have two projects that currently use SVN and I'm migrating to git, I signed up to gitorious and there's the option to create a new project or add a repository. I'm just starting out with git so I don't know what the difference is, or rather what it means if I simply use to repositories under one project. If i do that I'll end up with theirDomain.com/myname/repository1 and theirDomain.com/myname/repository2 If I choose to create two projects then I end up with theirDomain.com/project1

git project vs repository, what's the fundamental difference?

筅森魡賤 提交于 2019-12-31 11:43:24
问题 I have two projects that currently use SVN and I'm migrating to git, I signed up to gitorious and there's the option to create a new project or add a repository. I'm just starting out with git so I don't know what the difference is, or rather what it means if I simply use to repositories under one project. If i do that I'll end up with theirDomain.com/myname/repository1 and theirDomain.com/myname/repository2 If I choose to create two projects then I end up with theirDomain.com/project1

C# Service Layer Design Pattern

你说的曾经没有我的故事 提交于 2019-12-31 08:52:31
问题 We are looking into creating a new project and are wanting to explore using the Repository and Service layer patterns, the aim to is create loosely coupled code which is fully testable using mock repositories. Please see below the basic architecture idea. We will be using interfaces to describe the repositories and inject these into the service layers to remove any dependencies. Then using autofac we will wire up the services at runtime. public interface IOrderRepository { IQueryable<Order>