repository

Symfony2 custom repository class

醉酒当歌 提交于 2019-12-01 15:25:28
问题 I am new to symfony2 and I am trying to create custom repository class and couldn' do it. Here is what I am doing: I added annotation to entity class ( MobilePhones ) @ORM\Entity(repositoryClass="Maak\DefaultBundle\Entity\MobilePhonesRepository") In MobilePhonesRepository I created my custom function named findAllMobilePhones() In controller I called function using: $em->getRepository('MaakDefaultBundle:MobilePhones')->findAllMobilePhones(); but I get Undefined method findAllMobilePhones() ,

Create Android server local repository for specific tag

允我心安 提交于 2019-12-01 14:55:33
I would like to create a local server for Android branch android-4.3_r1.1 I follow this thread: Cloning Android sources to a local repository server But I couldn't do the same thing for specific tag, How can it be done ? I would like to have a server, and then from the client do some work and push it to the server, so other client can do a sync and see my commits ... On the server side this is what I did: repo init -u https://android.googlesource.com/platform/manifest --mirror repo sync On the client side: repo init -u git-server/android/platform/manifest.git/ -b android-4.3_r1.1 repo sync I

Where did the EclipseLink/Maven repository go to? (again)

喜你入骨 提交于 2019-12-01 14:30:43
问题 Yes, I know, the subject was asked before, but the repository moved again. Has anybody seen it? I would be much obliged. 回答1: A quick search reveals a long list of mirrors, most of them returning 404s but their cache entry is still viewable (for now). So it does seem like the files have been removed at the source, and rather recently too. Here are a few mirrors that still have the files (for now): http://linorg.usp.br/eclipse/rt/eclipselink/maven.repo/ http://mirror.neu.edu.cn/eclipse/rt

Create Android server local repository for specific tag

女生的网名这么多〃 提交于 2019-12-01 12:42:41
问题 I would like to create a local server for Android branch android-4.3_r1.1 I follow this thread: Cloning Android sources to a local repository server But I couldn't do the same thing for specific tag, How can it be done ? I would like to have a server, and then from the client do some work and push it to the server, so other client can do a sync and see my commits ... On the server side this is what I did: repo init -u https://android.googlesource.com/platform/manifest --mirror repo sync On

Clearing history list of repositories in XCode

微笑、不失礼 提交于 2019-12-01 12:17:42
问题 I am currently using SourceTree and Git for as my versioning tools and I only have two active projects that I am working on with it. However, when I go to XCode -> Source Control -> Check Out, I see a list of repositories which I have either deleted or do not belong to me (since quite a number of people sent me their projects for review). I have searched my entire machine to for these values but have yet to find them. Here is a screenshot of how my Check Out window looks like: I have also

Gitolite prompts for password only on central server with SSH registered

三世轮回 提交于 2019-12-01 12:17:22
I am running gitlab which uses gitolite on a central repository Ubuntu machine and have several users that connect to this machine after adding their public SSH keys via Gitlab's web interface. The different users on their own machines can successfully push and pull from the central repository machine just fine. On the machine itself, I cannot have my user push or pull to the central repository. It always asks for git's password! How can I fix this? On a remote machine with SSH key registered I get: myusername@ubuntu:~$ ssh -T git@111.222.333.444 hello my_username_gmail_com_1348772800, this is

GAE - Including external python modules without adding them to the repository?

断了今生、忘了曾经 提交于 2019-12-01 12:06:37
I'm current working on a python based Google App Engine project. Specifically, I'm using Flask for the application. I'm wondering what the accepted method of including external python modules is, specifically when it comes to the repository. From what I can tell, including other people's code in my repository is bad form for several reasons. However, other people will be working on the same repository, so we should be using the same external modules to insure the same results. Specifically, I need to include Flask (and its dependencies) to my application. The easiest way to do this with Google

How do you use Git to retrieve just one (or a few) files from a repo? [duplicate]

家住魔仙堡 提交于 2019-12-01 11:41:49
Possible Duplicate: Partial clone with Git and Mercurial I switched into the specific directory into which I'd like my repo file to be copied into, and then tried the following: git clone git@github.com:path/to/file.java but it's giving me ERROR: repository not found Can anyone tell me what's going on, and what's the right thing to do? (a little background doesn't hurt!) You may want to look into something called a sparse checkout which was implemented in Git 1.7 I believe. Before that I don't think git allowed you to do so although on github you can always copy individual files from their web

'fatal: HTTP request failed' error when pulling from git repository

試著忘記壹切 提交于 2019-12-01 10:49:51
I have been pushing and pulling files to and from my github repositories without problems for the last 4 years. Two days ago, I tried pulling from the repos with the same command i have been using ever since: git pull origin master but i keep getting the error "error: while accessing https://github.com/username/projectname/info/refs . fatal: HTTP request failed" . I can push without problems using the command: git push origin master . What is the problem here? I tried the suggestions given on some so questions like "[Pushing to Git returning Error Code 403 fatal: HTTP request failed]" but none

Local git repo force updated from a remote git repo. (thick-client deployments)

僤鯓⒐⒋嵵緔 提交于 2019-12-01 10:46:47
Update: I think this is related to an issue with the windows git client msysgit. Sorry to trouble you guys. http://code.google.com/p/msysgit/issues/detail?id=379&colspec=ID%20Type%20Status%20Priority%20Component%20Owner%20Summary I'm looking for a way to keep several client boxes in synch with a remote git repo. Forcing updates from the remote repo and abandoning anything that may have changed on the client boxes. The problem I'm running into is that the client boxes will modify some of the files (installation logs etc.) and gives me a merge nightmare when I need to update them from the remote