[gitorious] Retrieving projects and their repositories
Hello! In Qt Creator we have a wizard for checking out projects directly from gitorious. It asks the user to select a project and repository and then proceeds to check it out and then open the project. That is pretty convenient for our users. What we do to make this run is this: We retrieve a list of projects from http://gitorious.org/projects?format=xml (in pages) and extract the project names, descriptions and repositories from there. This used to work fine. I just noticed that our wizard stopped working: The xml file still has a section about repositories (split into mainline and clones), but unfortunately that is always empty. My question is how I can make our wizard work again? Best Regards, Tobias -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Re: LDAP Authentication question
Hi, Do you mean login page? You should log in by entering email address and password from LDAP, what is confusing? Or what behaviour do you expect? vanna On Friday, January 4, 2013 4:22:57 PM UTC+1, Manuel Felipe Lopez wrote: > > Hi > > I'm a confuse with the LDAP integration in glitorious. I'd change > authentication.yml file and when i run the test script, everything works > has expected, but i don't understand the process after this, cause if I go > to the page, it keeps asking me for an email address, there is something to > change in the admin web interface or in a config file to allow users from > ldap to authenticate in the web page ? > > My authentication.yml file > > production: > disable_default: false > methods: > - adapter: Gitorious::Authentication::LDAPAuthentication > host: 172.18.7.10 > port: 389 > base_dn: DC=THEDOMAIN,DC=ca > bind_username: "mflo...@thedomain.ca" > bind_password: THEPASSWD > user_filter: > username_attribute: sAMAccountName > encryption: none > login_attribute: uid > distinguished_name_template: "{}@THEDOMAIN.ca" > attribute_mapping: > givenName: fullname > mail: email > > > The test result: > > # RAILS_ENV=production bundle exec script/test_ldap_connection mflopez > THEPASSWD > All good, your credentials are correct > > Thanks > -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Re: Gitorious mass import
Hi, Thanks for this piece of work ! But I'm a ruby beginner and I'm trying to import a git repository (only one with his past history), used without gitorious, into my new local install of gitorious. How do you use your script ? I tried to call the script with my git repository path for argument but nothing happened in gitorious (warnings about constant already initialized in optparse and an echo of my git repository path after executed the call). Le mercredi 16 février 2011 16:34:23 UTC+1, Pedro Kiefer a écrit : > > Hi, > > I'm migrating some 300 cvs repositories to git, and I want to managed them > on my local gitorious install. Migrating the cvs repos to git is really > easy, but tracking them on gitorious takes a lot of my time. So, is there a > way for creating all those repositories from the command line, through > scripts/console maybe? > > Moving the converted repos to the hashed path directory is easy to > automate, i just need a way to create all those repositories. > > Cheers, > > Pedro Kiefer > -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Projects.xml file and repositories
Hello! Qt Creator has a gitorious project wizard that grabs a list of projects from gitorious, offers the user to select one, pick a repository for that and then proceed to check it out. That is pretty convenient for our users to get started with projects hosted on gitorious... But I just noticed that this has stopped working. We grab the list of projects from gitorious using http://gitorious.org/projects?format=xml and parse that. This does get the list of projects we need and it used to include the repositories used for each project in the tags (nicely split into mainline repos and clones). That area is still there, but empty. Is there any way to get that information again or do I need to drop the gitorious wizard? Best Regards, Tobias -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Understanding bare repositories and pull vs fetch
I am just starting with git but I have a seemingly working remote repository. However, a recent problem has made it clear I do not understand what I have. I followed some cookbook instructions for setting up a bare repository which worked but left me without a good understand of what I did. My setup consists of a Linus repository (bare) into which I imported an Eclipse project. I then cloned that repository on Windows and got a working Eclipse project using Egit. After making some changes I did a commit on Windows and pushed them upstream. I did not receive any feedback (positive or negative) from that operation so I assumed that it worked. I then went to my Linux server where I maintain a build directory which was also a clone from the bare repository. I did a pull and it seemed like some files were updated but when I looked at them they were not the latest version. I then did a 'fetch' followed by a 'reset' and that worked. Among those things that are not clear is where does the bare repository get the source code from when a pull or fetch is requested, as there is nothing recognizable as source in that directory (that is the part that seems like magic)? What is the difference between 'pull' and 'fetch' such that one worked and the other didn't and which is the correct way to maintain the source in my build directory (as part of my build script)? The build directory is not used for changing source it is only for running builds so no commits will ever be done there. I maintain the code on Windows, then want to push the changes upstream to the remote Linux repository and finally do builds with that code in the build directory. Some clarification of what is happening would be very helpful. TIA. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] GIT push: Network is unreachable
Trent Cobain writes: > hi all is there a way to solve this problem? > I have not been able to push my first commit yet > when I type > user@computer:/var/www/project$ git push origin master > I get > ssh: connect to host gitorious.org port 22: Network is unreachable > fatal: The remote end hung up unexpectedly > but if I connect with a wrong ssh key I get the server authentication error > message (so I think it is not a network problem) Trent, Are you *sure* you're connecting to the same server in both situations? If you try running: ssh g...@gitorious.org without an SSH key uploaded, and then do the same afterwards: do you get different results? Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] LDAP Authentication question
Manuel Felipe Lopez writes: > I'm a confuse with the LDAP integration in glitorious. I'd change > authentication.yml file and when i run the test script, everything works > has expected, but i don't understand the process after this, cause if I go > to the page, it keeps asking me for an email address, there is something to > change in the admin web interface or in a config file to allow users from > ldap to authenticate in the web page ? Manuel, I *think* it's just the labels that are confusing; did you try entering your LDAP username in the "email" field? Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com