repository

How to make an informational web site from a git repository

I would like to see some statistic and visual states of my git repository. Is there any nice tools around? I found http://gitstats.sourceforge.net/ but I would like to know if there are alternatives. ...

Github and Non-Ignoring files in the .gitignore

I had a file I needed to edit in my .gitignore file. I edited .gitignore, committed it, and still my file was unavailable to commit. I deleted the file, readded it, and once it has the same name, its still unavailable to commit. I tried -f, which then added an empty version of the file to my repository. And the worst apart about that ...

Is it possible to make a folder in an SVN repository to point to a folder in another repository?

Hi Everyone, I'm currently working on a very small open source project for Maemo 5. (Namely Sticky Notes.) I would like to incorporate some stuff from the Hildon Extras project. It seems that they have no binary packages, just an SVN repository, and the developers who use it just copy-paste the sources from Hildon-Extras to their own r...

How to concatenate two git histories?

I have two git repositories that are tangentially related. Namely, content of one was a predecessor of the other. I would like to somehow prepend the full history of depository A to the depository B, so that tip of A would be a parent of the very first changeset of depository B? Histories in both are pretty linear. Is this possible? ...

$ is not defined error using jQuery and Google Code Repository

I'm trying to duplicate the tabs demo from the jQuery website. The sample page I'm working with is: http://yazminmedia.com/playground/jquerytabs.html I'd like to use the Google Code Repository to take advantage of the caching. I have the following code in the head of my page: <script type="text/javascript" src="http://www.google.com/js...

Subversion Repository Architecture for Separate Dev/Test/Prod Environments

Hi everyone, I've been tasked to build up a subversion system for dev/test/prod environments, and was wondering if anyone has any experience with a similar environment or suggestions. We build and configure a number of systems that are a combination of scripts and complex configuration files for 3rd party products. Due to this, it is im...

Maven adds '-windows' to the artifact name when downloading a snapshot artifact

I have added a bunch of artifacts to my local Nexus Maven repository. When I build my project I get the following error: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building pronto-web Java EE 6 Webapp [INFO] task-segment: [verify] [INFO] ----------...

Is this a ddd anti-pattern?

Is it a violation of the Persistance igorance to inject a repository interface into a Entity object Like this. By not using a interface I clearly see a problem but when using a interface is there really a problem? Is the code below a good or bad pattern and why? public class Contact { private readonly IAddressRepository _addressRepo...

maven2 - how to list all resources repository url from pom file

I'm looking for something like this: List<URL> urls = ListURLFromPOM.("c:\pom.xml"); .. http://repo1.maven.org/maven2/org/apache/ibatis/ibatis-core/3.0/ibatis-core-3.0.jar http://repo1.maven.org/maven2/org/apache/camel/camel-activemq/1.1.0/camel-activemq-1.1.0.jar ... ...

WPF MVVM - Repository pattern query

I have a web service which provides an interface to query data. I am writing a WPF application using MVVM. I am working on creating a repository that my View Models can use to retrieve models. The repository will call the Web service to fetch data, when required. I would require various Find methods in my repository that finds the data ...

Maven - how/where to publish artifacts

I have open-sourced some of my projects. I'd like to publish the artifacts in a common place. If I don't have to host my own repository, that would be ideal, otherwise I will have to setup my own instance of Nexus (or other repository that you recommend). Can I publish artifacts to Maven Central? What process do I need to follow to g...

Development, repository and deployment organization

I'm looking for your advice. Initial situation: we (at the moment 5 developers, 1 quality guy/documentation, 1 projectmanagement/organization) plan to do a small startup we all earn our living with coding, but for better paid projects you'll have mostly no chance as one-man-show located somewhere mostly in europe we'll do clojure, ph...

private online SVN repositories

I am planning to start a project with a team of 3-4 people and I was researching some online SVN repositories for a while to work when working as a team on the single project. I'm hesitating to choose a free version to start with. I want a service that enables you to do the basic SVN stuff( Commit changes, update, merge, checkout) and ...

Persistent Command pattern

Hi all, what I am trying to achieve is to have a persistent list of "undoable" changes on a persistent storage (database). The architecture employs repositories for the domain objects and Unit of Work for transactions and for the final part (undo) I thought of using the command pattern. However, for me there seems no good solution how ...

Using Github & Unfuddle at the same time

Is there a way to use Github and Unfuddle for the same repo? I am responsible for a repo hosted at Unfuddle, but I am not the main owner and it's private because it's part of an ongoing project. I still need to update the repo there when changes are made, but I would like to use the same set of files to create and update a public Github ...

Where is the Git Repository Path created?

When one creates a NEW repository with Git, does the path where the .git subdir is added have to be the SAME one as the path where the project files are (i.e. the files to be managed by Git)? Another way of asking the same question is: If I want to create a new Git repository, does the repository path always have to coincide with the re...

Bug in third-party dependency creates python packaging dilemma

Hi everyone, I'm a developer on a software project for Linux that uses Python and PyGTK. The program we are writing depends on a number of third-party packages that are available through all mayor distro repositories. One of these is a python binding (written in C) that allows our program to chat with a common C library. Unfortunately, t...

TortoiseSVN: Show status of multiple working folders in parent folder

I have repository configured like this: \Util_1 \branches \tags \trunk \Util_2 \branches \tags \trunk ... Now, on my local disk i have: \dev \Utils \Util_1 \Util_2 In Util_xx folders are only trunks. If I enter the Utils folder, TortoiseSvn shows status icons for each Util. Unfortunately, Utils folder tha...

Update model with latest autoinc id from database

Hello, which method do you prefer to update my newly saved customer with the last autoincremented Id ? Do you see any disadvantage in one of both methods? CustomerRepository.cs public int AddCustomer(Customer customer) { //.... return lastID; } BillingViewModel.cs //Method 1 SelectedCustomer.Id = _customerRepo.AddCustomer(Sel...

Keyword lists for syntax highlighting app?

Are there any lists available in one simple location for multiple languages. I want to add syntax highlighting to an app of mine and I need some lists to use. Any format is OK. I'll figure out how to parse it later. I know I can just find a good app like Pygments of GeSHi and just copy from them but they list contributors and I feel b...