repository

SVN : 500 internal server error on my repository access

£可爱£侵袭症+ 提交于 2020-01-21 20:49:19
问题 (OS is Ubuntu Server) I create a new repository with SVN like that : $ svnadmin create myrepo --pre-1.6-compatible The first time, when I want to access in my new repository myrepo (with TortoiseSVN tool), I could reach in reading, but in writing, I couldn't (lock SVN message appears). So I found on forum post, a guy who recommanded to set all rights on repository like that : $ chmod -r 770 myrootrepositories And after that, I can't access to all my repositories ... with TortoiseSVN, this

SVN : 500 internal server error on my repository access

喜欢而已 提交于 2020-01-21 20:47:08
问题 (OS is Ubuntu Server) I create a new repository with SVN like that : $ svnadmin create myrepo --pre-1.6-compatible The first time, when I want to access in my new repository myrepo (with TortoiseSVN tool), I could reach in reading, but in writing, I couldn't (lock SVN message appears). So I found on forum post, a guy who recommanded to set all rights on repository like that : $ chmod -r 770 myrootrepositories And after that, I can't access to all my repositories ... with TortoiseSVN, this

Error Code 400 when trying to (maven) deploy to github packages using github actions

▼魔方 西西 提交于 2020-01-16 16:26:30
问题 I am struggling with the (seemingly) simple task of deploying a maven project to github packages using a github actions workflow. First of all, here's the error I am getting in the maven deploy phase: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project [project name]: Failed to retrieve remote metadata [groupId]:[artifactId]:1.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata [groupId]:[artifactId]:1.0-SNAPSHOT/maven

Error Code 400 when trying to (maven) deploy to github packages using github actions

廉价感情. 提交于 2020-01-16 16:26:24
问题 I am struggling with the (seemingly) simple task of deploying a maven project to github packages using a github actions workflow. First of all, here's the error I am getting in the maven deploy phase: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project [project name]: Failed to retrieve remote metadata [groupId]:[artifactId]:1.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata [groupId]:[artifactId]:1.0-SNAPSHOT/maven

How to build dependent projects using Bit Bucket pipeline

荒凉一梦 提交于 2020-01-16 10:30:17
问题 I am trying to get my build working with pipeline using maven . I have two bit bucket repositories for two maven projects. repository1 -> project1 repository2 -> project2. project2 has dependency on project1. Now I dont have problem in building project1 as it doesn't has dependency on any projects. But when I try to build project2 using pipeline build is failing because maven is not finding the project1 artifact. I got to know that every pipeline runs within a docker image. So my guess is

Smartgit error: “Push Error Not all refs have been pushed”

笑着哭i 提交于 2020-01-16 03:41:05
问题 I am using Smartgit with a repository hosted from 'bitbucket.org'. I got this error message: Error Not all refs have been pushed And changes are not committed. What does this error mean? Here is the complete log for my latest action around this repo: LF will be replaced by CRLF in apps/frontend/modules/persona/templates/indexSuccess.php. The file will have its original line endings in your working directory. LF will be replaced by CRLF in apps/frontend/modules/persona/templates/indexSuccess

How to create a git repository on my server from the github server?

痴心易碎 提交于 2020-01-15 12:30:09
问题 I admit the question isn't crystal clear.. I am cloning a github hosted project(askbot). I want to create my private repository for this project so that my team members can make modifications. I also want to be able to fetch(or pull) new updates from the original github repository(the project will have new features and bug fixes and so on) In short, I want a repository that we can push/pull privately and that we can also pull from the original github repository. Are there special setup needed

SVN 1.3 VS 1.5 (latest)

南楼画角 提交于 2020-01-15 06:06:32
问题 Our IT guy has installed SVN 1.3, the current version is 1.5. We are migrating from CVS to SVN, so do I lose much by staying with 1.3? I like to run CVS2SVN and move to SVN without the need of writing any scripts Also: in CVS we have on project with multiple directories in there. What is the best practice in SVN? There is a nightly build that has to pull in stuff from different directory in the same CVS project in order to build the nightly build. So I have to have that in mind and I have to

SVN 1.3 VS 1.5 (latest)

£可爱£侵袭症+ 提交于 2020-01-15 06:05:03
问题 Our IT guy has installed SVN 1.3, the current version is 1.5. We are migrating from CVS to SVN, so do I lose much by staying with 1.3? I like to run CVS2SVN and move to SVN without the need of writing any scripts Also: in CVS we have on project with multiple directories in there. What is the best practice in SVN? There is a nightly build that has to pull in stuff from different directory in the same CVS project in order to build the nightly build. So I have to have that in mind and I have to

How can I safely handle invalid requests for repository data?

眉间皱痕 提交于 2020-01-14 19:42:09
问题 With this code: public String Get(int id) { return platypi.Find(p => p.Id == id).Name; } ...I can get existing data via: http://localhost:33181/api/DPlatypus/N (where N corresponds to an existing ID). If I use a nonexistent value, though, it blows up. So, I tried this: public String Get(int id) { if (!string.IsNullOrEmpty(platypi.Find(p => p.Id == id).Name)) { return platypi.Find(p => p.Id == id).Name; } return string.Empty; } ...but it has no beneficial effect. Is there a way to safely