Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Marat Radchenko
    @slonopotamus
    okay, 1.1.7 is on its way. the only change is gitlab >= 10.2 compatibility fix
    https://github.com/bozaro/git-as-svn/releases/tag/1.1.7 travis will deploy files here (and to debian repo too) soon
    Marat Radchenko
    @slonopotamus
    need some sleep. see ya tomorrow in case any issues arise.
    magnifikus
    @magnifikus
    yep me too cya
    and mad props!
    Marat Radchenko
    @slonopotamus
    props?
    we did all the best to make git-as-svn work adequately with svn props if you're about that
    slonopotamus @slonopotamus needs some sleep. or coffee... no, sleep.
    magnifikus
    @magnifikus
    noo respect for you, never expected a fix in one day :D
    svn and all it evil props are the devil
    Marat Radchenko
    @slonopotamus
    read this: https://bozaro.github.io/git-as-svn/html/en_US/ch_props.html it has some broken grammar and formatting - feel free to file a PR to fix that :P
    you just want normal .gitignore/.gitattributes and git 644/755 modes on files. and it will be automagically converted into svn insanity.
    Marat Radchenko
    @slonopotamus
    okay, 1.1.7 is released.
    mkunzecw
    @mkunzecw
    got one bozaro/git-as-svn#156 :)
    Marat Radchenko
    @slonopotamus
    hmm... can you share login/password pair that triggers that error? it is unrelated to oauth, something is going wrong when talking to svn client. maybe you have some funny symbols in password
    @mkunzecw ^
    mkunzecw
    @mkunzecw
    m.kunze / Kunze1234 just a fake one
    when i remove the dot from username Exception in thread "pool-2-thread-10" java.lang.IllegalArgumentException: Input byte array has incorrect ending byte at 20
    if i change username to bla1234 also Exception in thread "pool-2-thread-11" java.lang.IllegalArgumentException: Illegal base64 character a
    but the strange thing its working without gitlab exception
    Marat Radchenko
    @slonopotamus
    okay, i reproduced this issue
    Marat Radchenko
    @slonopotamus
    @mkunzecw so, you known what ;) 1.1.8 is out
    mkunzecw
    @mkunzecw
    :)
    is fixed more testing tomorrow
    mkunzecw
    @mkunzecw
    morning
    as promised i tested :)
    Marat Radchenko
    @slonopotamus
    can you temporary move that gitlab hook away to check that is causes the problem? or print something from it before "exit 1"
    hmm... i'm trying to remember whether it is valid to use embedded pusher with gitlab at all
    oh, native pusher also has this message. @mkunzecw what pusher:setting do you currently have in git-as-svn config?
    Marat Radchenko
    @slonopotamus
    okay, i checked and our installation uses embedded
    on the positive side, you're not the first who hit this issue :) bozaro/git-as-svn#133
    mkunzecw
    @mkunzecw
    oh was hard to cross reference cause i didnt understand athing in 133
    i tried print("test") but the hook reply was still empty
    got some time in january will play with the option then
    Marat Radchenko
    @slonopotamus
    @mkunzecw It's hard to believe, but I've just released git-as-svn 1.2.0 with GitLab 10.x support.
    Marat Radchenko
    @slonopotamus
    @magnifikus tagging you too
    srivanigorthi
    @srivanigorthi
    Hey Hi, I have a query. Suppose we have created empty SVN repository without specifying trunk/branch/tag folder and after multiple svn commits if we wish to create a tag/ branch . Is that possible? Is there any way to achieve that?
    mkunzecw
    @mkunzecw
    @slonopotamus hey sorry just seeing this!
    awesome work btw, works like a charm
    Marat Radchenko
    @slonopotamus
    @srivanigorthi git-as-svn doesn't support trunk/branches/tags layout. Instead, you use git to create branches. Also, is possible to expose multiple git branches via git-as-svn. However, they will be seen as separate repositories from svn
    nishantgiri
    @nishantgiri
    I am not sure whether I should ask in this group or not, so apologize in advance.
    I want to checkout svn code using cake script and followed this https://stackoverflow.com/questions/55539704/need-help-authenticating-to-svn-repo-with-cake/61721862#61721862
    but could not able to do that
    can I expect any help in SVN checkout using cake script
    if possible?
    nishantgiri
    @nishantgiri
    anyone can hep over here ?
    Marat Radchenko
    @slonopotamus
    @nishantgiri This is a support channel for https://github.com/bozaro/git-as-svn
    So, if you're using git-as-svn, this could be a correct channel to ask.
    nishantgiri
    @nishantgiri
    Thank you, Marat :-)
    Alexander Speshilov
    @speshuric
    Hello.
    I try to install git-as-svn and have some difficulties.
    Install to clean and fresh instance of Ubuntu 20.04.1 (VirtualBox, default server installation). All steps as described at https://bozaro.github.io/git-as-svn/htmlsingle/git-as-svn.html#_install
    svn ls fails (can't connect to host 'localhost')
    journalctl contains exception AccessDeniedException to /etc/git-as-svn/.git
    git-as-svn.conf is default so I do not realize why git-as-svn try to write /etc/git-as-svn/.git
    Alexander Speshilov
    @speshuric
    journalctl
    2020-10-23T18:26:52,597  INFO [main] (GitRepositoryConfig.java:100) - [example]: storage /etc/git-as-svn/.git not found, create mode: EXAMPLE
    Exception in thread "main" java.nio.file.AccessDeniedException:
            at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
            at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
            at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
            at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:389)
            at java.base/java.nio.file.Files.createDirectory(Files.java:694)
            at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:801)
            at java.base/java.nio.file.Files.createDirectories(Files.java:787)
            at svnserver.repository.git.GitCreateMode.createRepository(GitCreateMode.java:59)
            at svnserver.repository.git.GitCreateMode$3.createRepository(GitCreateMode.java:46)
            at svnserver.config.GitRepositoryConfig.createGit(GitRepositoryConfig.java:101)
            at svnserver.config.GitRepositoryConfig.create(GitRepositoryConfig.java:92)
            at svnserver.config.GitRepositoryConfig.create(GitRepositoryConfig.java:84)
            at svnserver.config.GitRepositoryConfig.create(GitRepositoryConfig.java:79)
            at svnserver.config.RepositoryListMappingConfig.create(RepositoryListMappingConfig.java:55)
            at svnserver.server.SvnServer.<init>(SvnServer.java:158)
            at svnserver.server.Main.main(Main.java:66)
    $ svn ls --username test --password test svn://localhost/example/masterls
    svn: E170013: Unable to connect to a repository at URL 'svn://localhost/example/masterls'
    svn: E000111: Can't connect to host 'localhost': Connection refused
    Marat Radchenko
    @slonopotamus
    @speshuric It's trying to create example repository there. Are you using default /etc/git-as-svn/git-as-svn.conf?
    Alexander Speshilov
    @speshuric
    Yes it's default git-as-svn.conf
    ...
    repositoryMapping: !listMapping
      groups:
        developers:
          - test
      repositories:
        example:
          access:
            /:
              # Asterisk (*) means all users
              # $authenticated means authenticated users
              # $anonymous means anonymous users
              #
              # Supported modes: r/rw/none. Empty string also means none
              '*': r
              '@developers': rw
          repository:
            # Allowed create modes:
            # - ERROR - exit with error, if repository not exists
            # - EMPTY - create empty repository
            # - EXAMPLE - create repository with example data
            createMode: EXAMPLE
            branches:
              - master
            path: /var/git/repositories/example.git
            renameDetection: true
    
    shared:
    ...
    Marat Radchenko
    @slonopotamus
    @speshuric It is a regression bug introduced in git-as-svn 1.28.0. You can rollback to 1.27.0 or wait for 1.28.1 bugfix release (it is expected to happen within several hours).
    Marat Radchenko
    @slonopotamus