Code Monkey home page Code Monkey logo

Comments (8)

aspiers avatar aspiers commented on July 30, 2024

That's great, thanks! I'll gladly accept a pull request if you can submit it according to the contributors' guide!

I think the help text you already added to the .service file is sufficient documentation. There isn't really anywhere else to put it. I'm not sure about password - even with a read-only account there's still a risk it could expose access to other parts of the svn tree which were not intended to be generally accessible. But I'm open to arguments either way.

from obs-service-tar_scm.

holgerreif avatar holgerreif commented on July 30, 2024

To be honest, I never used git before (and never wrote a script in python either).
And yes I read the contributor's guide before, it states
If you are unable to provide a fix via a pull request, please submit an issue. ;-)

Since I'm more familiar with diff and patch I attached a udiff (where I know what I do). Would you accept this as well?

Regarding the password setting option: it is about freedom of choice. The user can decide what suits better to him: doing something as root on obs server or putting the password for a ro account into a service file. If you are interested I'd add and test this option as well.

from obs-service-tar_scm.

aspiers avatar aspiers commented on July 30, 2024

To be honest, I never used git before (and never wrote a script in python either).

Ah well, so isn't this the perfect excuse to start learning git? ;-) It's not too hard, and it's a tremendously useful (and important) tool to have under your belt, since the vast majority of the development world use git these days, and github is almost as popular. Plus it's fun ;-)

Also there are plenty of great tutorials available to guide you through, e.g.

But if you really can't or don't want to, maybe I can do it, but it's unlikely to happen any time soon.

from obs-service-tar_scm.

doccaz avatar doccaz commented on July 30, 2024

I could do that for you, as I'm dealing with http proxy support. But right now I need someone to look over my code and find out what is wrong, since I can run the "make check" tests locally, but Travis CI bombs out with a syntax error(?)

from obs-service-tar_scm.

jjacque avatar jjacque commented on July 30, 2024

Just created #342 that allow authentication for multiple SCM including svn.
Please let me know if it fits your needs ?

from obs-service-tar_scm.

doccaz avatar doccaz commented on July 30, 2024

Just created #342 that allow authentication for multiple SCM including svn.
Please let me know if it fits your needs ?

That looks fine to me. One question though: since there will be one keyring for everyone, shouldn't there be an admin GUI to deal with it?

from obs-service-tar_scm.

jjacque avatar jjacque commented on July 30, 2024

Hi @doccaz , the drawback here is that you'll need an ssh access to the machine and the perms to sudo to obsservicerun to create/update the keyring. I guess it would be pretty hard to implement a GUI that will distinguished the OBS users running the service.
Changes should be done in the https://github.com/openSUSE/open-build-service repo

from obs-service-tar_scm.

doccaz avatar doccaz commented on July 30, 2024

Hi @doccaz , the drawback here is that you'll need an ssh access to the machine and the perms to sudo to obsservicerun to create/update the keyring. I guess it would be pretty hard to implement a GUI that will distinguished the OBS users running the service.
Changes should be done in the https://github.com/openSUSE/open-build-service repo

You're right. However, wouldn't the password be exposed in the service for everyone? Maybe it'd be a good idea to have a password attribute for the project/package?

from obs-service-tar_scm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.