Comments (24)
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Which version of scm-manager do you use? and which version of egit do you use (version number and msysgit or jgit)?
SCM-Manager uses smart http.
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
i'm using
scm-manager v1.4
msysgit: 1.7.4.msysgit.0
Egit: 0.11.1 based on Jgit 0.11.1
I'm not using jgit CLI
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
As Egit accept authentication based on url http://user:pw@host as a workaround for access to other server implementation, i thought that scm-manager does accept only http://user@host urls and does filter the others
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Could you please test with version 0.12.1 of EGit and JGit?
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Authentication in urls is not a server feature. The client must read the parameters and create a basic httpheader.
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
I 'm going to upgrade but one of my colleagues has got the same issue with Egit 0.12.1
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
Same issue with EGit/JGit 0.12.1
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
When you get this issue? clone or push?
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
I've tested with EGit/JGit 0.12.1 clone and push works well for me.
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Could you provide some steps to produce this issue?
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Which version msygit do you use? have a look at <<issue 19>>.
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
I really don't know why.
I will install wireshark tomorrow and sniff the packets.
Where are the credentials in a http header ?
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
msysgit 1.7.4
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
With msysgit it works but not with egit.
git push http://scmadmin:scmadmin:@myhost:8080/scm/git/test
Strange !
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
The credentials are base64 encoded in the Authorization httpheader.
http://en.wikipedia.org/wiki/Basic_access_authentication
Could you provide some steps to reproduce this issue? Have you stored the authentication in the eclipse secure store?
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Occurs this issue if you clone an repository (File->Import-Git) with egit?
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
//Could you provide some steps to produce this issue?//
1/ Get scm-manager and Eclipse+Egit installed on the same computer
2/ Setup scm-manager with new hostname (localhost) and a directory for git repos (d:\git)
3/ Create a repo named "test" with "public" access
4/ Set "write" permissions for the user "scmadmin" on this repo ("is group" unchecked)
5/ Populate the empty repo with msysgit which creates the master branch (i will make a proposal on this topic later)
cd D:\git\import
git push http://scmadmin:scmadmin@<myhost>:8080/scm/git/test master
The "import" repo contains just a simple file "test.txt"
6/ Clone the "test" repo in Egit:
Git repository perspective > button "Clone a Git reposi..."
URI=http://scmadmin:scmadmin@:8080/scm/git/test
"Store in Secure Storage" checked or not doesn't change anything
Location= "d:\Documents and Settings<myuser>\test0.4
Then i get my new local repo "test0.4"
7/
Right clic on the "Working directory" > "Import project" > "Import as a general project"
8/ Switch to the Java perspective, edit the file "test.txt" and commit "Team" > "Commit"
9/ Team "Push to upstream"
10/ configure (a bug in Egit inserts "/r/p" in the push URI)
select uri then "Change" and modify uri
then "Save and push"
Taddaaaa
//An internal Exception occured during push: http://scmadmin@myhost:8080/scm/git/test: 401 Authorization Required//
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Could you please test the behavior with a private repository (uncheck the public checkbox and save)?
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
Same result with private repo
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Ok, i found a error in the git implementation of scm-manager, but this error only occurs if you have changed the location of the git repositories. Have you changed the location of the git repository (Repository Types->Git->Repository directory)?
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
yes exactly
My new location is "d:\git"
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
Possible fix: <>
Could you please test this version?
http://download.scm-manager.org/issues/29/scm-server-1.5-SNAPSHOT-app.zip
from scm-manager.
Original comment by Thierry L. (Bitbucket: [Thierry L.](https://bitbucket.org/Thierry L.), ).
Nice work.
After some testing, it's ok.
There are some other issues but if you prefer i can open new tickets for them.
Thanks for all.
from scm-manager.
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).
yes please please create new tickets for other issues.
from scm-manager.
Related Issues (20)
- ability to delete multiple files HOT 2
- Subversion export is broken for certain repositories even health check complete successfully HOT 9
- Blank page instead of startup screen HOT 28
- Default branch not set when you create a new GIT repository and don't initialize it during creation HOT 3
- the pack file might be corrupt. Caught 1 consecutive errors while trying to read this pack. HOT 5
- Provide ability to set repository path & use human-readable names for repository folder name HOT 5
- Subversion seems broken constant errors in logs HOT 3
- Enhance URL Redirection for User-friendly Access to SVN Files HOT 4
- Provide details for enabling dataFileCache HOT 1
- Increasing number of projects shown on Repositories page HOT 2
- IllegalArgumentException: event handler not found HOT 2
- Port the scm-hgnested-plugin to 2.x
- When a user is deleted, it is not deleted from the groups it was a member of HOT 2
- SVN dump buggy in docker container of SCM-Manager HOT 1
- Change number display changeset HOT 4
- SCM-Manager hosting using https proxy broken after 3.0.0 upgrade HOT 5
- 'create repository'-permission on namespace level HOT 1
- debian upgrade to 3.0 hangs daemon due to privilege issue HOT 3
- Latest Tag goes from 3.0.3 to 2.46.2 and docker hub scmmanager/scm-manager:latest has followed HOT 2
- Docker compose environment definition for forwardHeadersEnabled HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scm-manager.