Tagged Questions
Can refer to the data store of a version control system containing the whole history of a project, or to an object that transfers data between the business layer of an application and its data store.
0
votes
0answers
25 views
Spring MVC with JPA: Not able to instantiate JpaRepository from a jar
I am trying to import a standard spring project P1 into a web project P2 and I am implementing the web aspect of P1 in P2.
I have imported all resources of P1 in P2 as P1.jar
Have explicitly imported ...
0
votes
0answers
5 views
How to automatically download the same 8 repos for every from another 4 repos in a git?
We have 4 repos with executables and when I clone any 1 of them, I want to also clone all of the 8 repos with libraries to the folders next to the executable folder. The executables are something like ...
-1
votes
0answers
6 views
Pods – How to use a forked repository?
I am having issues updating my pod from my forked repository..keep getting:
[!] Unable to find a specification for 'QMChatViewController'.
The story...I have forked a repository, this one:
https://...
0
votes
1answer
22 views
Mercurial. Abandoned - Alternative implementation Branch practice?
We use Mercurial as source control, mainly using named branches for major features that we close and merge into the development branch once finished.
Recently I had two divergent solutions to a ...
75
votes
6answers
38k views
“tag already exists in the remote" error after recreating the git tag
I get the following error after I run the steps below:
To git@provider.com:username/repo-name.git
! [rejected] dev -> dev (already exists)
error: failed to push some refs to 'git@provider....
0
votes
4answers
92 views
C# Best Practice - What is the best practice when converting int? to int
I have a nullable int coming in from the database from a stored procedure that I know will not have a null value. I have done the bellow:
public List<EngineerDetails> ...
0
votes
0answers
6 views
Maven Jetty plugin configure repository
We use jetty plugin for local deployment of our application. Recently i added a repository in the pom and added dependencies both in the plugin section and the dependencies section outside as well, ...
0
votes
1answer
13 views
Error when scheduled build in Agent queue tries to sync repository
I am using an TFS agent to schedule some Build using triggers. My issue is that when the build starts it wants to get latest version (sync repository). But I get an unusual error:
I have literally ...
1
vote
1answer
15 views
Eclipse - failure to find parent pom, but maven build actually works from Eclipse itself
Eclipse keeps telling me it can't find the parent pom of my project, but if I run mvn -U install on my project, from Eclipse, the build works.
I'm using Eclipse Neon.1 Release (4.6.1), and configured ...
0
votes
1answer
16 views
return multiple reader.cast<>
All I want to do is return multiple reader.cast<> so that i can use 2 sqlcommands.
var first =reader.Cast<IDataRecord>().Select(x => new LocationInfo()
{
...
1
vote
0answers
10 views
ruby on rail 4.2 repository on www.softwarecollections.org
We have a fully implemented Katello 3.0 running on our environment. While trying to upgrade to Katello 3.2, I have been noticed that the ruby on rail 4.2 repository on www.softwarecollections.org has ...
0
votes
2answers
33 views
Should I commit dlls and generated bin files to repository on GitHub or just ignore them?
I am using a private repository on GitHub to develop a project. The problem is that every time I do a commit, a bunch of bin files that I haven't manually modified get committed too. If I ignore them, ...
3
votes
2answers
67 views
+50
Private NPM: How can the latest version of a module be installed?
Using private npm, common commands seem not to work:
npm install without a specific @version :: issue
npm outdated :: issue
npm update :: issue
npm view <private-package-name> versions :: (...
0
votes
2answers
25 views
How To Get Fork on Chain Repositories With Composer
composer update doesn't get my forked repository.
my project composer.json
"require": {
"github/repo-1": "^0.3.8",
},
"repositories": [{
"type": "vcs",
"url": "https://github.com/...
0
votes
1answer
22 views
How to load related data in a repository pattern
I have created a very basic repository pattern and I'd like include a clean way to load related data. I have seen people use .Include() previously but I'm not 100% certain how I would introduce this ...
0
votes
0answers
38 views
How do I use automapper in a repository?
In my repository I'd like to make use of a viewmodel because the data that I'm returning is quite heavy to serialize. I am returning this data for my KendoUI Grid to use but the mapping is throwing ...
-1
votes
0answers
3 views
How can I find Sorghum SNP data (GBS data) repositories available to the public
I have SNP data (GBS data) on my Sorghum breeding lines and I would like to add SNP data from few more sorghum breeding lines commonly used in the US before I start my analysis. Can someone please ...
0
votes
1answer
14 views
Move a folder from a repository to another repository
I didn't manage to ask my question properly.
The situation is : I had a repository on github like this :
OldRepository
- Folder 1
- Folder 2
- Folder 3
And I wanted to move one folder from this ...
6
votes
6answers
2k views
Why after copying git repository to another dir I have modified files?
I have my personal small git repository on my laptop. I have just commited the changes and checked that I have nothing to commit - every staged and modified file has been commited.
After that I have ...
0
votes
1answer
32 views
Best action/move/suggestion in managing repo file size in Git especially in bigger game projects?
I was currently using the Bitbucket since it has 2GB repo size and lets you have private repo for free. Since the limit hits at 2GB and tried to reduce down the file size using BFG, along with its ...
2
votes
3answers
2k views
Disable prompts while installing a Debian package
How can i disable totally the prompts that appear while installing a Debian package, i've used all the options that i've found but there are some packages that are still prompting.
I'm using this ...
2
votes
1answer
41 views
Repository does not initialize entity data
I would like to create a Details view with entity framework data using a repository pattern.
This is my interface repository:
public interface InterfaceRepositroy: IDisposable
{
IEnumerable<...
0
votes
1answer
21 views
Git - Clone subdirectory in server root
I've a project structure like this in a git repo:
/Code
/admin
/api
/DB
/Docs-Files
/UI-UX
I want to clone /admin and /api onto my server www directory and keep it in sync with git, so that ...
1
vote
1answer
12 views
Complete contribution to git repo
I want to contribute to a git repository. From the tutorials and other things what i found is i have to fork the repository to achieve this. So i forked the repository and then i cloned my copy of ...
1
vote
1answer
17 views
Debian which repository has the package autossh?
I am trying to install autossh on Debian squeeze, but I am getting error E: Unable to locate package autossh.
I don't know which repository the package autossh is present in. I tried searching on the ...
0
votes
0answers
12 views
How to access the git repository of heroku?
I have a project on Heroku and when I type:
$ git remote -v
I get the following answer:
origin https://git.heroku.com/cliente-mws-usp.git (fetch)
origin https://git.heroku.com/cliente-mws-usp.git ...
0
votes
1answer
28 views
Is MRAN broken?
I have been trying to install packages from MRAN, specifically bsts amoung others. If I run:
install.packages(c("Boom","BoomSpikeSlab", "bsts"),repos = "https://mran.revolutionanalytics.com/snapshot/...
-1
votes
0answers
26 views
Tortoise SVN Creating New repositories
So this isn't necessarily a programming question but here it is.
If I have a SVN Repository like /usr/data/svn/myproject
And this repo directory has files and folders in it.
Then I type
sudo ...
2
votes
1answer
25 views
Bower - Give different path to a registered package
I have my own cloned git repository.
(I'll use cloned jquery to simplify)
I want to be able to link a Registered package name to a given path so I could do this:
"jquery": "1.0.0"
I know it ...
0
votes
0answers
13 views
Can't commit to BitBucket Repository with SourceTree on Mac OS X?
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree -c gpg.program=/private/var/folders/6n/mkcp40ss5xbb5j2kq6l2mh540000gn/T/AppTranslocation/EA58D33E-898B-4214-...
54
votes
2answers
35k views
Best Repository Pattern for ASP.NET MVC
I recently learned ASP.NET MVC (I love it). I'm working with a company that uses dependency injection to load a Repository instance in each request, and I'm familiar with using that repository.
But ...
0
votes
1answer
31 views
how to terminate a process in Git
hi guys i was practicing git and i edited a file, i wanted to commit my modification but it open a message editor bash widow n i couldn't close it till i closed the bash terminal. i opened it again n ...
1
vote
2answers
254 views
Mercurial repository cleanup preserving Kiln/Fogbugz history
TL;DR Version: Is it possible to reorganize a Mercurial repo without breaking Kiln/Fogbuz history? Or do I have to start fresh?
I have a repository that is a real mess, in need of some serious ...
1
vote
1answer
1k views
How do I test a Spring Data Rest @RepositoryRestResource?
I was trying to set up unit testing for a REST API built with Spring Data Rest. I have a repository like this:
@RepositoryRestResource
public interface BeerRepository extends JpaRepository<Beer, ...
0
votes
1answer
17 views
Git checkout does not download branch new files
I have a problem with a git branch, I'm trying to switch on a different branch where there is some changed files and changed directories but I cannot see these changes on my local repository.
On the ...
1
vote
2answers
15 views
Bitbucket/Github Repository branch and master branch
I have a question about the branch and master branch in the repository.
If I have 2 different collaborators working on my repository at the same time, and one of them is working on the master branch ...
-1
votes
0answers
8 views
Nhibernate Dynamic Eager Loading
I'm trying to make a Repository method that will Eager Load properties based on parameters. Here's what I've gotten so far:
public IEnumerable<T> FindAll(System.Linq.Expressions.Expression<...
7
votes
3answers
12k views
Unable to load the repository(PyDev for eclipse)
I encountered the problem. When i am trying to create new PyDev project, an error occurs:
Error:
Unable to load the repository http://pydev.org/updates
Unknown Host: http://pydev.org/updates/...
1154
votes
16answers
916k views
How do you clone a git repository into a specific folder?
Executing the command git clone git@github.com:whatever creates a directory in my current folder named whatever, and drops the contents of the git repo into that folder:
/httpdocs/whatever/public
My ...
-2
votes
0answers
14 views
Maven not searching all repositories
I have a repository(https://abcd/nexus/content/groups/public) defined in pom.xml that contains an artifact com.x.y.z
In pom.xml:
<dependencyManagement>
<dependency>
&...
-1
votes
0answers
28 views
Initialize a non-bare git repo
Usually I initialize a git repository with git init, which creates a non-bare repository. If I want to have a bare repository, I can use git init --bare.
Now I'm writing a post-receive hook, which is ...
5
votes
3answers
9k views
Git clone private repo, permission denied
I am trying to clone a private repository owned by another developer. I do not have direct communication with this developer. They sent me a theirusername-id_rsa.pub file and a theirusername-priv....
1
vote
0answers
7 views
In Jenkins Build Actions: Nexus Repository Manager Publisher plugin is not always available
When I create a new build job in Jenkins and click on "Add Build Step", a list of options pop up. One of These Options is "Nexus Repository Manager Publisher" because of the installed plugin. When I ...
0
votes
1answer
7 views
How to read old Visual Source Safe repository
I have an old (from 2005) Visual Source Safe repository that I need to access for research purposes. Apparently (and for good reason) the VSS software is no longer available. Is there any way I can ...
0
votes
2answers
46 views
Difference between git@github.com:… and https://github.com/…?
I've recently attempted building a project which had various dependencies declared as Github links. The links were a mixture of links to public Github repositories and private Github Enterprise ...
1
vote
2answers
30 views
hibernate repositiory without @Entity
Can Hibernate recognize entities without declaring neither as @Entity nor in xml configuration?
class MyEntity {
Long id;
}
interface MyEntityRepository implements Repository<Entity, Long> ...
8
votes
8answers
9k views
I want make push and get error: src refspec master does not match any
I'm hosting on Heroku. I want to make a push:
git push master Heroku
I gets the message:
error: src refspec master does not match any.
error: failed to push some refs to 'git@heroku.com: etc ...'
151
votes
3answers
29k views
What is the difference between github and gist?
What is the purpose of gist and how is it different from regular code sharing/maintaining using github?
0
votes
1answer
19 views
GitKraken is not showing repo I am a contributer to
I am using GitKraken to manage my repositories from github, and I am able to see and clone repositories I am the owner of no problem. However, I set up a repository with my school's github account, ...
0
votes
2answers
26 views
Issue while installing apache with yum
When i run yum install httpd-devel i get this :
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Could not retrieve mirrorlist http://...