[gitorious] How do I resend an Iniviation email from my private Gitorious installation?
I have people that claim they never got their invitation emails, how do I get Gitorious to resend these emails, I can't find any admin console to resend the emails? -- 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] Gitorious crashed now I can't push from my maven-release-plugin anymore
I figured it out and removed my question, it is the : in the URL, I forgot that I have to change those to / for the tag to work correctly with the git command line the what it is sent -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Gitorious crashed now I can't push from my maven-release-plugin anymore
I can do a 'git push' from the command line, but on a sub-set of the repositories, the ones created since my database got corrupted, I can't push from the maven-scm-plugin via the maven-release-plugin. I thought it might be a "Windows" thing but it is happening on 2 different CentOS 5.6 machines as well. Below is the shell command that the maven-release-plugin is trying to run. [Fri Jul 08 22:06:29] [root]@[dev] ~/maven-gwt-archetype # /bin/sh -c cd /root/maven-gwt-archetype && git push ssh://g...@gitorious.dev.itaas.com:maven-archetypes-and-plugins/maven-gwt-archetype.git master:master ssh: gitorious.dev.itaas.com:maven-archetypes-and-plugins: Name or service not known fatal: The remote end hung up unexpectedly If I just do a # git push origin master it pushes to my Gitorious machine just fine, does anyone have any idea why this would start happening, it was working fine just a few weeks ago. -- 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] Having trouble with database corruption?
My Gitorious hung and when I restarted it, the database was corrupted. I really like Gitorious but my experience with it has been hit or miss. The git-poller script just stops working on a intermittent basis, when I stop and restart it, the database is all out of whack sometimes. memcached started complaining about keys being bigger than 1MB, that seems to be causing problems as well. There are a LOT of moving parts and they don't all seem to move together all that well all the time. I have a team over seas that relies on this server as well as locally so it needs to be as stable as possible. It is the only Ruby based thing in my development stack and it is the most fragile as well. Creating repositories is hit or miss, they seem to hang and corrupt the database on a fairly un-predictable but regular basis. Don't take this the wrong way, I really appreciate all the help from the you guys and the online community in general. I have the PickAxe book on the way ... just so I can support my team with this software better, and maybe contribute back some. There really isn't anything else available to compete with Gitorious. A private install of GitHub won't give me the team and project management features Gitorious has. I hope I can not just be a complainer but maybe help make things more stable if I can get up to speed on Ruby, it is about the only language I don't know really well at this time. -- 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] Having trouble with database corruption?
Thanks for the translation of the error messages, with your suggestion about the nil in repository_id I did the following mysql> select repository_id from committerships c where repository_id not in ( select id from repositories ); +---+ | repository_id | +---+ | 139 | | 143 | | 152 | | 176 | .. snipped about 43 entries. once I deleted those I was able to uncomment that line and that team page started working again. Now my new question is, are those repositories that were not in the repositories table, orphaned on my disk? -- 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] Having trouble with database corruption?
I don't have anything in committerships that matches the suggested solution to this problem mysql> select * from committerships where repository_id is null; Empty set (0.00 sec) mysql> select id from repositories where project_id is null; Empty set (0.00 sec) mysql> select id from repositories where project_id not in ( select id from projects ); Empty set (0.01 sec) -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Having trouble with database corruption?
I can't view one of my teams in Gitorious. I get the following error: NoMethodError (undefined method `project_id' for nil:NilClass): app/models/group.rb:85:in `all_related_project_ids' If I comment out line 85 of group.rb it seems to work again. I have other teams that don't have this problem, only this one specific team has some data corruption in the database. I manually examined all the tables that I though might have bad data, projects, repositories, committerships, memberships, groups and think I all the owner_id, and creator_id's are correct. But I can't debug the all_related_project_ids method to see which repository it thinks is bad. def all_related_project_ids all_project_ids = projects.map{|p| p.id } all_project_ids << repositories.map{|r| r.project_id } all_project_ids << committerships.map{|p| p.repository.project_id } <= this is the line where it is failing all_project_ids.flatten!.uniq! all_project_ids end Any idea how to debug this error? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Almost have my Gitorious server back up and completely functional need help with this one last thing please?
ActionView::TemplateError (undefined method `to_param_with_prefix' for nil:NilClass) on line #36 of app/views/repositories/_committers_sidebar.html.er b: 33: 34: 35: <%= image_tag("images/default_group_avatar.png") %> *36: <%= link_to h(cs.committer.to_param_with_prefix), cs.committer -%>* 37: 38: 39: <% end -%> Line 36 is causing my repositories owned by a group to not render. If I comment out that line it works, how do I go about fixing this? Is something missing in my database? I had to manually delete all the groups from the groups table and recreate them through the GUI and then manually reassociate all the committerships, repositories, projects, groups, memberships etc. to get my old database fully functional with the HEAD mainline master of Gitorious. This is the last thing I hope that I need to fix to get my system stable again. any help or hints would be appreciated. -- 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: groups#show (NoMethodError) "undefined method `project_id' for nil:NilClass"
what did you change to fix this, I am suddenly encountering the same issue. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] How do I tell if Gitorious is using memcached or not?
I have memcached installed and it appears to be running. How do I tell if Gitorious is using it? I am running HEAD of the mainline master branch as of yesterday morning. -- 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: can't reach any repositories after re-install I get this error on every page view of every repository
I think this was because my /var/git/repositories directory had some how become owned by root:root, I did a lot of blind hacking and I changed it to chown git:git and it started working again. -- 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: can't reach any repositories after re-install I get this error on every page view of every repository
I started over completely and didn't upgrade the hash-path step but did everything else my original problem I was trying to solve is still with me On every repository when I click on them in the GUI I get the following error trace in the log. A ActionView::TemplateError occurred in repositories#show: /var/git/repositories/a20/f3d/5da26b94c6fa9fdb84f1732d81e87ded84.git On line #46 of app/views/repositories/_overview.html.erb 43: :locals => {:repository => repository} -%> 44: 45: 46: <% if verbose && repository.has_commits? && !repository.git.heads.blank? -%> 47: 48: 49:Branches: vendor/grit/lib/grit/repo.rb:36:in `initialize' app/models/repository.rb:251:in `new' app/models/repository.rb:251:in `git' app/models/repository.rb:256:in `has_commits?' app/views/repositories/_overview.html.erb:46 -- 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] Re: searching quit working for no reason here is the errors I get when I try and start the git-ultrasphinx service
I am trying to wipe my Ruby environment and reset my Gitorious instance to a good known state based on the HEAD of the mainline master branch. Now I can't access any repositories at all. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] can't reach any repositories after re-install I get this error on every page view of every repository
I am using the HEAD of mainline master and ran through all the upgrade steps on this page http://gitorious.org/gitorious/pages/Upgrading ActionView::TemplateError (/var/git/repositories/test_server/test_server.git) on line #46 of app/views/repositories/_overview.html.erb: 43: :locals => {:repository => repository} -%> 44: 45: 46: <% if verbose && repository.has_commits? && !repository.git.heads.blank? -%> 47: 48: 49:Branches: I can't tell if the gitorious-poller script is running correctly. [Mon Jul 04 20:01:23] [root]@[dev] /var/www # service gitorious-poller start [Mon Jul 04 20:03:07] [root]@[dev] /var/www # service gitorious-poller restart Warning: no instances running. Starting... [Mon Jul 04 20:03:15] [root]@[dev] /var/www # ps -ef | grep poller root 16077 3291 0 20:04 pts/200:00:00 grep poller Why doesn't this script output at least an [OK] or [FAIL] How can I get Gitorious to recognize my existing repositories? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Having problems getting service git-ultrasphinx to start?
My gitorioius server has gotten flaky and down right un-reliable because some gems and other stuff got accidently updated during a yum update or something anyway I have spent the majority of the day backing things up and reinstalling enterprise ruby and the various bits to gitorious using the latest HEAD from the mainline master branch. Things are looking better, but I can't get ultrasphinx to launch. I am not fluent in Ruby and all the arcane environment settings what can I do to fix this. I changed the "address" property to "listen" to get rid of the deprecation warning but I still can't get it to start. [Mon Jul 04 19:08:24] [root]@[dev] /var/www/gitorious # bundle exec rake ultrasphinx:daemon:start RAILS_ENV=production (in /var/www/gitorious) Sphinx 0.9.9-release (r2117) Copyright (c) 2001-2009, Andrew Aksyonoff using config file '/var/www/gitorious/config/ultrasphinx/production.conf'... listening on all interfaces, port=9312 bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... bind() failed on 0.0.0.0, retrying... FATAL: bind() failed on 0.0.0.0: Illegal seek Failed to start here is my environment [Mon Jul 04 19:09:29] [root]@[dev] /var/www/gitorious # gem list *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.9) actionpack (3.0.9) activemodel (3.0.9) activerecord (3.0.9, 2.3.8) activeresource (3.0.9) activesupport (3.0.9, 2.3.8) acts-as-taggable-on (2.0.6) arel (2.0.10) builder (3.0.0, 2.1.2) bundler (1.0.15) chronic (0.3.0) daemon_controller (0.2.6) daemons (1.1.0) diff-lcs (1.1.2) echoe (4.3.1) erubis (2.6.6) eventmachine (0.12.10) exception_notification (1.0.20090728) factory_girl (1.3.3) fastthread (1.0.7) gemcutter (0.6.1) geoip (0.8.9) hodel_3000_compliant_logger (0.1.0) hoe (2.8.0) i18n (0.5.0) json (1.5.0) json_pure (1.5.0) mail (2.2.19) mime-types (1.16) mocha (0.9.10) mysql (2.8.1) oauth (0.4.4) paperclip (2.2.9.2) passenger (3.0.7) polyglot (0.3.1) proxymachine (1.2.4) rack (1.3.0, 1.2.3, 1.0.1) rack-mount (0.6.14) rack-test (0.5.7) rails (3.0.9) railties (3.0.9) rake (0.9.2, 0.8.7) rdiscount (1.3.1.1) rdoc (3.8) revo-ssl_requirement (1.1.0) riddle (1.2.2) ruby-hmac (0.4.0) ruby-openid (2.1.8) ruby-yadis (0.3.4) rubyforge (2.0.4) shoulda (2.9.2) state_machine (0.9.4) stomp (1.1) thor (0.14.6) treetop (1.4.9) tuxml (0.0.1) tzinfo (0.3.29) validates_url_format_of (0.1.1) will_paginate (2.3.15) declare -x PATH="/opt/ruby-enterprise-1.8.7-2011.03/bin: LOTS OF UNRELATED PATH STUFF -- 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] Re: searching quit working for no reason here is the errors I get when I try and start the git-ultrasphinx service
On Mon, Jul 4, 2011 at 1:57 AM, Christian Johansen wrote: > Hi, > > It looks like you installed Rails 3.0? Are you using Gitorious with Bundler? > E.g. `bundle exec [script]`? If you do that, the app should run in a > sandboxed environment and you should be fine. If you're using an older > version of Gitorious, you probably need to uninstall Rails 3.0 from the > environment Gitorious is running in. > > Christian > something has corrupted my Ruby environment, I am running Gitorious on Centos5.6 using the RHEL instructions from about a year ago. I am running version I can't get gitorious-poller to run now either, my entire instance is screwed up. I can't create or clone new repositories, they just hang on the creating web page. Unfortunately I don't get anything useful as an error or in the production.log I get this error when I try and run git-ultrasphinx as well [Mon Jul 04 10:00:46] [root]@[dev] /var/www/gitorious # service git-ultrasphinx start (in /var/www/gitorious) rake aborted! uninitialized constant ActiveSupport::Dependencies::Mutex /var/www/gitorious/Rakefile:10:in `require' -- 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: searching quit working for no reason here is the errors I get when I try and start the git-ultrasphinx service
Here is what is installed on this machine [Thu Jun 30 14:46:42] [root]@[dev] /etc/init.d # gem list *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.1) actionpack (3.0.1) activemodel (3.0.1) activerecord (3.0.1) activeresource (3.0.1) activesupport (3.0.1) arel (1.0.1) BlueCloth (1.0.1) builder (3.0.0, 2.1.2) bundler (1.0.10, 1.0.3) cgi_multipart_eof_fix (2.5.0) chronic (0.3.0) daemon_controller (0.2.5) daemons (1.1.0) diff-lcs (1.1.2) echoe (4.3.1) erubis (2.6.6) eventmachine (0.12.10) factory_girl (1.3.3) fastthread (1.0.7) file-tail (1.0.5) gem_plugin (0.2.3) gemcutter (0.6.1) geoip (0.8.9, 0.8.7) hoe (2.8.0, 2.6.2) json (1.5.0, 1.4.6) json_pure (1.5.1, 1.5.0, 1.4.6) mail (2.2.9) mime-types (1.16) mocha (0.9.10, 0.9.9) mongrel (1.1.5) mysql (2.8.1) oauth (0.4.4) paperclip (2.2.9.2) passenger (3.0.0) polyglot (0.3.1) rack (1.0.1) rack-mount (0.6.13) rack-test (0.5.6) rails (3.0.1) railties (3.0.1) rake (0.8.7) rdiscount (1.3.1.1) RedCloth (4.2.3) riddle (1.2.2) rspec (2.0.1) rspec-core (2.0.1) rspec-expectations (2.0.1) rspec-mocks (2.0.1) rspec-rails (2.0.1) ruby-hmac (0.4.0) ruby-openid (2.1.8) ruby-yadis (0.3.4) rubyforge (2.0.4) rubygems-update (1.8.5, 1.3.7) shoulda (2.9.2) spruz (0.2.0) sqlite3-ruby (1.3.2) state_machine (0.9.4) stomp (1.1) stompserver (0.9.9) thor (0.14.3) treetop (1.4.8) tzinfo (0.3.23) ultrasphinx (1.11) -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] searching quit working for no reason here is the errors I get when I try and start the git-ultrasphinx service
This is what I get when I try and start the service, this is the second time I have had these `require` issues without updating or upgrading anything. [Thu Jun 30 14:42:48] [root]@[dev] /etc/init.d # service git-ultrasphinx restart (in /var/www/gitorious) NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/shared _helpers.rb:3. NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/source .rb:162. NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#each called from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/s ource.rb:162. NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/shared _helpers.rb:84. rake aborted! uninitialized constant ActiveSupport::Dependencies::Mutex /var/www/gitorious/Rakefile:10:in `require' (See full trace by running task with --trace) [Thu Jun 30 14:43:17] [root]@[dev] /etc/init.d # which ruby /opt/ruby-enterprise-1.8.7-2010.01/bin/ruby -- 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: Is there any way to get more descriptive and helpful error messages
On Wednesday, June 29, 2011 1:31:14 PM UTC-4, Jarrod Roberson wrote: > > This is the errors from the log for when I try and delete this repository > > ActiveRecord::RecordInvalid (Validation failed: Name has already been > taken): > Apparently the repository that I was trying to delete had a clone of it, once that clone was deleted I was able to delete it. This should be a very friendly message like "This repository has clones of it you can't delete it until they are deleted" or some such wording instead of the default "oh crap something happened" message and the obtuse log entry. -- 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: Cannot delete a git repository -> ActiveRecord::RecordInvalid (Validation failed: Name has already been taken)
I just had the same problem The solution is that the repository you are trying to delete has a clone of it and until that clone is deleted you can't delete the "parent" -- 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: Is there any way to get more descriptive and helpful error messages
This is the errors from the log for when I try and delete this repository ActiveRecord::RecordInvalid (Validation failed: Name has already been taken): vendor/rails/activerecord/lib/active_record/validations.rb:1090:in `save_without_dirty!' vendor/rails/activerecord/lib/active_record/dirty.rb:87:in `save_without_transactions!' vendor/rails/activerecord/lib/active_record/transactions.rb:200:in `save!' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction' vendor/rails/activerecord/lib/active_record/transactions.rb:182:in `transaction' vendor/rails/activerecord/lib/active_record/transactions.rb:200:in `save!' vendor/rails/activerecord/lib/active_record/transactions.rb:208:in `rollback_active_record_state!' vendor/rails/activerecord/lib/active_record/transactions.rb:200:in `save!' app/models/repository.rb:621:in `create_tracking_repository' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `send' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `method_missing' app/models/merge_request.rb:571:in `tracking_repository' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `send' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `method_missing' app/models/merge_request_version.rb:117:in `branch_deletion_message' app/models/merge_request_version.rb:124:in `schedule_branch_deletion' vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `send' vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method' vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call' vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in `run' vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `each' vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `send' vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `run' vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks' vendor/rails/activerecord/lib/active_record/callbacks.rb:344:in `callback' vendor/rails/activerecord/lib/active_record/callbacks.rb:336:in `destroy_without_transactions' vendor/rails/activerecord/lib/active_record/transactions.rb:229:in `send' vendor/rails/activerecord/lib/active_record/transactions.rb:229:in `with_transaction_returning_status' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction' vendor/rails/activerecord/lib/active_record/transactions.rb:182:in `transaction' vendor/rails/activerecord/lib/active_record/transactions.rb:228:in `with_transaction_returning_status' vendor/rails/activerecord/lib/active_record/transactions.rb:192:in `destroy' vendor/rails/activerecord/lib/active_record/associations.rb:1424:in `has_many_dependent_destroy_for_versions' vendor/plugins/will_paginate/lib/will_paginate/finder.rb:168:in `method_missing' vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:369:in `method_missing_without_pagi nate' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `method_missing' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `each' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `send' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `method_missing' vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:369:in `method_missing_without_pagi nate' vendor/plugins/will_paginate/lib/will_paginate/finder.rb:168:in `method_missing' vendor/rails/activerecord/lib/active_record/associations.rb:1424:in `has_many_dependent_destroy_for_versions' vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `send' vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method' vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call' vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in `run' vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `each' vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `send' vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `run' vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks' vendor/rails/activerecord/lib/active_record/callbacks.rb:344:in `callback' vendor/rails/activerecord/lib/active_record/callbacks.rb:336:in `destroy_without_transactions' vendor/rails/activerecord/lib/active_record/transactions.rb:229:in `send' vendor/rails/activerecord/lib/active_record/transactions.rb:229:in `with_transaction_returning_status' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction' vendor/rails/activerecord/lib/active_record/transact
[gitorious] Re: Gitorious limitation
On Wednesday, June 29, 2011 4:07:23 AM UTC-4, VladimirB wrote: > > After using gitorious on several weeks , we see number of the > limitations: > > 1.No private repositories, meaning no read access control. > I agree this is something I would love to have, but I don't have the ruby chops to implement it. There have been some attempts at adding this, but it ends up being non-trival and the patches were only partial functionality and only apply cleanly against pretty old versions of Gitorious. > 2.No merge request on same repository different branch. Only merge > requests from cloned repositories within gitorious. > you can do this with the standard git tools on the client side, other than having a record of who did what in the web gui, I don't see this as a Gitorious problem. > 3.Download time is not so good, we must use mirror and update mirror > manually after push. > •Once a developer pushed a change it does not reflected > in the mirror right away. > •The developer must update the mirror manually in order > for other to see his change. > I asked about this when I first started using Gitorious here for my team, the answer I was given was to set up the mainline repository as a read only remote origin and manually pull from it, the reasoning was you have more control and ALL the git local client tools to deal with conflicts during a merge, a server side solution would require manual hand intervention on conflicts anyway. After 8 months of my team using Gitorious this hasn't been missed at all. We just do a "git mainline master pull" when we want to see others changes. I don't disagree with the reasoning now, it would just make more code to maintain in Gitorious that didn't have great value. I would rather see more robust administrative GUI solutions for managing users, projects and repos than this. > Is gitorious able to support these the limitations (via command line > or other way)? > -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Is there any way to get more descriptive and helpful error messages
I am trying to delete a repository from the Gitorious interface on my local install. I get the less than helpful " We are sorry, but something went wrong. We have been notified about this issue and we will take a look at it shortly." I would be very helpful to turn on some kind of "verbose" error message flag on private installs/ -- 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] Proper protocol
On , Marius Mårnes Mathiesen wrote: Anyone subscribed to this list will know that installing Gitorious is not for the faint of heart. There are a lot of moving parts, a lot of dependencies, and getting everything right is difficult. I really want to change this. The question is: once we have an easily installed, anonymous/authenticated, pull/push solution for Git traffic: is it time to deprecate the other protocol handlers in Gitorious: - The SSH handler - The Git handler (git-daemon or git-proxy) Would anybody miss them? Yes, lots of people disable the HTTP support completely and only use SSH for writes and Git of read only access. This is what we do for our installation. This is very important for work flows where people should be able to check out read only copies but not be able to write. All my Java projects, and there and dozens and dozens of Java repos in my Gitorious install, use Maven 3 and its support for the maven-release-plugin and scm-plugin which it uses to update Git automatically when preforming releases. the SCM plugin likes to have a "developer" url and a "guest" url so it can publish documentation with links that people can checkout the code but not be able to write to it. We only give write access to people that are responding to merge requests and use the git protocol for adding remotes to private clones to pull from the mainline repository. This separation of concerns is very important to workflows like this. If you want to enhance the HTTP, then by all means do that, but don't remove any functionality that is already there and working great. PS: As to the difficulty in installing Gitorious. It took me most of a day and a half to get it up and running on a CentOS 5.5 server. Most of the time was me dealing with all the very specific versions of Ruby stuff that wasn't available via any one YUM repository. I do just about every language but Ruby and it ecosystem, there were lots of things I just had to guess at until I got it right. In particular setting up Passenger details under Apache 2.2.x entailed lots and lots of Googling and emails to the group and IRC chats, because most of the Passenger documentation refers to config files and things with the assumption you know where they actually are. Gitorious wasn't stable until I got this nailed down. There is already what looks like a nice Chef recipe for Ubuntu, we don't do Ubuntu because we have standardized on RHEL5/CentOS5 because that is what all our clients use, an RPM package and a custom YUM repository for RHEL5/CentOS5.x that at least consolidated all the very specific Ruby/Rails/Passenger details into a single RPM and have dependencies on all the other stuff like Apache, MySQL, etc. would go a long way to a more painless adoption. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Is there any comprehensive documenation on how to use the console script and what is available?
I am not a Ruby person, but it is about the only environment I don't know. Where should I go look other than the source, which I have tried, and still came up wanting? -- 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] Re Had someone leave the team, now I need to clean up Gitorious and remove them and their private repositories?
Is there any complete information on how to use the console script? This is what I get why I try to do the suggested action [Thu May 05 13:53:51] [root]@[dev] /var/www/gitorious/script # ./console Loading development environment (Rails 2.3.5) /var/www/gitorious/config/environment.rb:15:RuntimeError: Your config/gitorious.yml does not have an entry for your curr ent Rails environment. Please consult config/gitorious.sample.yml for instructions. /var/www/gitorious/vendor/rails/railties/lib/rails/backtrace_cleaner.rb:2:NameError: uninitialized constant ActiveSuppor t::BacktraceCleaner /var/www/gitorious/vendor/rails/railties/lib/console_with_helpers.rb:5:NameError: uninitialized constant ApplicationCont roller >> u = User.find_by_login "jarrodroberson" NameError: uninitialized constant User from (irb):1 -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Had someone leave the team, now I need to clean up Gitorious and remove them and their private repositories?
How do I do this? I can't find a way in the GUI to remove a user and all their projects and repositories? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] Re: [Gitorious Processor] fail in PushProcessor
Just as a follow up, I have installed monit and enabled the monitoring of the git-poller ( mine is called gitorious-poller ) and haven't seen any of these errors since I installed and enabled the monit restarting the process. Actually have it monitoring all the daemons associated with gitorious ( ultra-sphinx, git-poller, the other one ) -- 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] https push on a private gitorious server
accessing git repositories over ssh is just as secure if not more so than HTTPS. -- 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] Re: [Gitorious Processor] fail in PushProcessor
ignore this, I think I have monit working now, I will see what is causing my machine to spew these errors, it is also running out of swap about once and week and hanging the entire machine. -- 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 Processor] fail in PushProcessor
the script I posted is what I am using for my /etc/init.d/ script. Is there a better script for that I could be using for my /etc/init.d/ that would be compatible with the monit stuff you posted that read the pid and what not? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] Re: [Gitorious Processor] fail in PushProcessor
Thanks for the monit instructions, but the gitorious-poller script I have doesn't seem to do what the monit recipe is expecting. #!/bin/sh # # poller Startup script for Gitorious's poller # # chkconfig: - 86 15 # description: Gitorious's poller script is simple worker that polls \ # tasks from stomp server queue and executes them. # processname: poller /bin/su - git -c "/var/www/gitorious/script/poller $@" Does anyone have a better script to use for the poller? Thanks -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] Private Projects / Repositories ( again )
On Apr 13, 2011 3:06am, Marius Mårnes Mathiesen wrote: On Tue, Apr 12, 2011 at 10:48 PM, Jarrod Roberson jarrod.rober...@gmail.com> wrote: Jarrod, There is actually some discussion on this merge request: https://gitorious.org/gitorious/mainline/merge_requests/115 these days. Thanks for the link, I will follow its progress closely. I wish I had time to learn Ruby/Rails and help with this. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] Re: [Gitorious Processor] fail in PushProcessor
thanks for the response. my server sees very little load comparatively, it has 2 GB of RAM. we have a dozen developers, and only a few on it at one time because of time zone differences. I will see if monit makes things any more stable. -- 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 Processor] fail in PushProcessor
I have tried everything and I still get a flurry of "[Gitorious Processor] fail in PushProcessor" emails every night. Very frustruating, I don't even know if these are having some kind of negative effect on my system? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Private Projects / Repositories ( again )
First I saw some discussion about this last April 2010, but I google groups won't let me reply to those threads, that is why I am creating a new one. We have some projects for some clients that require that no one but a select few people can even read the source code or sometimes in extreme cases know that the project exists. We can't use Gitorious for these clients obviously. Has anyone thought about being able to mark Projects / Repositories private anymore, I am not a Ruby person, but I can see this is a non- trival thing to add to the system as a whole. Updates to the GUI, the git scripts to disable read access bases on acl, I have marked http as disable, I am not sure it is completely disabled or the link is just hidden, excluding projects / repositories from the search results, etc. I realize it isn't trival and I realize that it isn't on the road map for the gitiorious.org use cases, but has anyone else done any work on this? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] [Gitorious Processor] fail in PushProcessor
On Mar 28, 2011 5:38pm, Michael Jackson wrote: I can not remember exactly how to keep an instance always running. I think it is in the Passenger config file somewhere. I google for "passenger config" and find lots of references to "the passenger config file" but nobody actually says what it is called or where I can find it? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] [Gitorious Processor] fail in PushProcessor
On Mar 28, 2011 2:20pm, Michael Jackson wrote: Out of curiosity is your server a 32 or 64 bit server? I *thought* I only had the problem with 32 bit servers but I may not have been waiting long enough on my 64 bit side. I am running CentOS 5.3 x86 [Mon Mar 28 16:30:15] [root]@[dev] ~ # uname -a Linux mycompany.com 2.6.18-194.17.4.el5 #1 SMP Mon Oct 25 15:51:07 EDT 2010 i686 athlon i386 GNU/Linux I think I ended up hacking something into the Ruby code to try the reconnect first. I also setup my server to always have an instance of Gitorious running which slowed down the issues to about once a week. I have seen this comment about having an instance always running, what does this mean? How do I set this up? I am running Gitorious under Apache 2.2.x via Passenger, my version is a recent head from the mainline from about 4 weeks ago. I just started getting this message a about 2 weeks ago. It doesn't just happen after a long period of inactivity it happens all day and all night long ( I have people 10.5 hours ahead of me using the server all day their time ). -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] [Gitorious Processor] fail in PushProcessor
I am still getting this message, dozens and dozens of times a day. Everytime this is apparently the root cause. ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away: SELECT * FROM `users` WHERE (`users`.`login` = 'vibhav') LIMIT 1 I made the following changes to my application in the database.yml file as suggested and it didn't affect the problem at all. production: adapter: mysql database: gitorious_production username: root password: ** host: localhost encoding: utf8 reconnect: true I restarted Apache, I am running Gitorious under passenger. Can someone please tell me how to fix this, it just started happening a few weeks ago, and I have not changed anything on the server related Gitorious when these errorsr started showing up. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] [Gitorious Processor] fail in PushProcessor
On Mar 21, 2011 11:50am, Rodrigo Rosenfeld Rosas wrote: It seems that your database is not well configured because the connection is getting lost in a very simple query ("SELECT * FROM `users` WHERE (`users`.`login` = 'thomastickle')"). I've seen this problem in a server of a friend hosted on Locaweb and he worked around adding this to config/database.yml: production: reconnect: true unfortunately this didn't appear to do anything. I made this change and restarted Apache 2, I got a crap load of those same errors for every person that tried to use the server first thing this morning. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] Re: Started getting these strange errors in the middle of the night last night.
Well, it depends. What instructions did you follow to install Gitorious? Also, if you are just interested in having a functional local Gitorious install you could give this article a shot: I followed some instructions ( that were apparently outdated as I had to hunt for fixes to the instructions ) I found on Google for CentOS 5.x running it under Apache 2.x I can't go back and use that Chef stuff because this is a production machine and I don't have the time to redo it all. It has been stable and functional until just the past few days, and I get this database errors. I have people using this server almost about 18 hours a day, I can't redo it. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: Re: [gitorious] Re: Started getting these strange errors in the middle of the night last night.
On Mar 21, 2011 11:46am, Rodrigo Rosenfeld Rosas wrote: On Mar 15, 10:50 am, Michael Jackson imikejack...@gmail.com> wrote: what does telling the rails installation to always have at least one copy running all the time mean, I am not a Ruby or Rails developer. http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerPoolIdleTime (Apache version) How do I discover where this file is and what its name is? -- 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: Started getting these strange errors in the middle of the night last night.
On Mar 15, 10:50 am, Michael Jackson wrote: > I get those all the time. I have mostly alleviated the issue by telling the > Rails installation to always have at least one copy of gitorious running at > all times. That mostly fixes it but I'll still get the error if gitorious > hasn't been used for a few days. > what does telling the rails installation to always have at least one copy running all the time mean, I am not a Ruby or Rails developer. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] [Gitorious Processor] fail in PushProcessor
I am still getting these strange errors, how do I fix this? It just started up, nothing changed on the server that I know of, what do they mean and how do I fix them? Errors like this on a production server worries me. I am NOT a Ruby programmer, so if it takes some Ruby / Rails efforts please spell it out. Thanks in advance. An exception occured in #"true", "destination"=>"/queue/GitoriousPush", "content-type"=>"text/plain; charset=UTF-8", "content-length"=>"200"}>> ! {"username":"thomastickle","gitdir":"ac3/64e/ 6159b428850536616b420168a77d7f1c8f","message":" ba78c3c1c33433bef6a3143d30b17d9620c2d464 refs/heads/ArrisResponse"} ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away: SELECT * FROM `users` WHERE (`users`.`login` = 'thomastickle') LIMIT 1 /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract_adapter.rb:219:in `log' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/mysql_adapter.rb:323:in `execute' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/mysql_adapter.rb:608:in `select' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract/query_cache.rb:62:in `select_all' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ base.rb:661:in `find_by_sql' -- 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 Origin Master NOT WORKING
what do the logs say? this could be one of many configuration issues relating to permissions of the scripts. it could be permissions issues with your public key it could be that the git-daemon process isn't running or is running with the wrong permissions. the logs will have more information on pinning down what it is. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Started getting these strange errors in the middle of the night last night.
Every person that does a push causes an email to be sent to me with this error. I restarted httpd and mysqld but I am still getting these error emails. I am running a copy of mainline from early last week: commit f09a50460d9bc621fa9e31a2d0b03f9f04374d46 Author: Christian Johansen Date: Mon Mar 7 14:56:02 2011 +0100 Does anyone have any idea, what this is? Is it critical? How do I fix it? An exception occured in #"true", "destination"=>"/queue/GitoriousPush", "content-type"=>"text/plain; charset=UTF-8", "content-length"=>"197"}>> ! {"username":"yogomayamaharana","gitdir":"d77/8de/ 0f44c2ccc021f5e36a8131cff62e5be159","message":"d4f7f33d919bc669670bdae072de0e67b31705b2 78c9d4633452a8f79714f037ecc60d86b3eda38d refs/heads/master"} - Hide quoted text - ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away: SELECT * FROM `users` WHERE (`users`.`login` = 'yogomayamaharana') LIMIT 1 /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract_adapter.rb:219:in `log' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/mysql_adapter.rb:323:in `execute' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/mysql_adapter.rb:608:in `select' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract/query_cache.rb:62:in `select_all' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ base.rb:661:in `find_by_sql' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ base.rb:1548:in `find_every' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ base.rb:1505:in `find_initial' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ base.rb:613:in `find' /var/www/gitorious/vendor/rails/activerecord/lib/active_record/ base.rb:1900:in `find_by_login' /var/www/gitorious/app/processors/push_processor.rb:65:in `parse_message' /var/www/gitorious/app/processors/push_processor.rb:25:in `on_message' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/processor.rb:32:in `process!' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:229:in `_dispatch' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:149:in `execute_filter_chain' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:228:in `_dispatch' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:219:in `each' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:219:in `_dispatch' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:200:in `dispatch' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:197:in `synchronize' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:197:in `dispatch' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:43:in `start' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:30:in `start' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:29:in `each' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging/gateway.rb:29:in `start' /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging.rb:109:in `start' /var/www/gitorious/vendor/plugins/activemessaging/poller.rb:14 /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/ daemons-1.1.0/lib/daemons/application.rb:203:in `load' /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/ daemons-1.1.0/lib/daemons/application.rb:203:in `start_load' /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/ daemons-1.1.0/lib/daemons/application.rb:292:in `start' /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/ daemons-1.1.0/lib/daemons/controller.rb:70:in `run' /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/ daemons-1.1.0/lib/daemons.rb:143 /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/ daemons-1.1.0/lib/daemons/cmdline.rb:112:in `call' /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/ daemons-1.1.0/lib/daemons/cmdline.rb:112:in `catch_exceptions' /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/ daemons-1.1.0/lib/daemons.rb:142:in `run' /var/www/gitorious/script/poller:30 -- 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] Re: can create repo
the repositories should be "bare" which means ONLY a .git directory and no working files. I had a problem tasks hanging and the repos never being marked "created" in the database, it hasn't happened in a long time. See this lists archives for those posts. -- 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] Re: can create repo
All these things rely on the gitorious-poller daemon to be running. you should have gitorious-poller in /etc/init.d you should make sure it is started You also need to make sure that the messaging queue is running. Getting all the permissions set right is also a problem with Gitorious. All the /etc/init.d/ scripts need to be user:group git:git as well as the ENTIRE /var/www/gitorious directory structure chown -R git:git also you have to put in the actual host name and port of the server in the gitororius.yml, localhost doesn't cut it. I spent a few hours wasted, until I changed all the instances of localhost over to the actual name of my machine. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] how to mark a repository as completely private, not just readonly?
We are running an internal Gitorious server. Everyone loves it, great work! Each developer has a Personal Project with a sandbox repository. I would like to be able to create a "home" repository where I can make my home directory a git repository and add things like my maven .settings file, and other things to it. One thing I would like to be able to do is add my .ssh directory as well as other sensitive documentation, for obvious reasons I don't want just anyone to pull this repository down and get my private keys and other sensitive documents? I see there is a Merge Request that deals with this, but it looks to be incomplete at best. http://gitorious.org/gitorious/mainline/merge_requests/115 Is there a "hidden" way to mark a repository completely private and not visible to anyone but the owner or the group that owns it? -- 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: Upgrading 1.9.3 to the newest version in mainline master branch
ignore the version number, I was thinking about another server I have installed. But the question still remains, how to I update my server to the newest stable code? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Upgrading 1.9.3 to the newest version in mainline master branch
I installed and run my gitorious directly out of a checkout of the mainline repository. What is the best practice for keeping my install up to date? -- 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: server reboot now passport error
On Jan 6, 10:33 am, Eric Jones wrote: > i started all the services as root would this be an issue? I had to make all the gitourious processes in /etc/init.d/ chown git:git otherwise they would inherit the root user and create files that were owned by root. I had a lot of problems until I got the permissions figured out with the startup scripts. Here is what I had to do to get it all working. [ro...@[dev] /var/www/gitorious dir /etc/init.d/git* -rwxr-xr-x 1 git git 1.8K Nov 3 13:41 /etc/init.d/git-daemon -rwxr-xr-x 1 git git 313 Nov 3 13:36 /etc/init.d/gitorious-poller -rwxr-xr-x 1 git git 991 Nov 2 19:11 /etc/init.d/git-ultrasphinx [ro...@[dev] /var/www/gitorious dir /etc/init.d/stomp -rwxr-xr-x 1 git git 1.4K Nov 3 11:47 /etc/init.d/stomp -- 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: Getting a error email everytime someone tries to do a search
Ok, it seems that something got corrupt and ultrasphinx was not running so I have it running and now I get this error everytime I do a search. A ZeroDivisionError occurred in searches#show: divided by 0 [RAILS_ROOT]/vendor/plugins/ultrasphinx/lib/ultrasphinx/search/ internals.rb:233:in `%' --- Request: --- * URL : http://gitorious.dev.itaas.com/search?q=event+reminder * IP address: 192.168.49.23 * Parameters: {"action"=>"show", "q"=>"event reminder", "controller"=>"searches"} * Rails root: /var/www/gitorious --- Session: --- * session id: nil * data: nil --- Environment: --- * DOCUMENT_ROOT : /var/www/gitorious/ public * HTTP_ACCEPT : text/html,application/ xhtml+xml,application/xml;q=0.9,*/*;q=0.8,application/json * HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7 * HTTP_ACCEPT_ENCODING: gzip,deflate * HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 * HTTP_CONNECTION : keep-alive * HTTP_COOKIE : __utma=64693879.1457489441.1281467710.1284557461.1286377437.10; __utmz=64693879.1281538814.4.2.utmcsr=linkedin.com|utmccn=(referral)| utmcmd=referral|utmcct=/profile; _gitorious_sess=551fa28d01e5758a9f30c40c90a2344d; _logged_in=true * HTTP_HOST : gitorious.dev.itaas.com * HTTP_KEEP_ALIVE : 115 * HTTP_REFERER: http://gitorious.dev.itaas.com/ * HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 * PASSENGER_CONNECT_PASSWORD : [FILTERED] * PATH_INFO : /search * QUERY_STRING: q=event+reminder * REMOTE_ADDR : 192.168.49.23 * REMOTE_PORT : 56682 * REQUEST_METHOD : GET * REQUEST_URI : /search?q=event +reminder * SCRIPT_NAME : * SERVER_ADDR : 192.168.53.122 * SERVER_ADMIN: jarrod.rober...@itaas.com * SERVER_NAME : gitorious.dev.itaas.com * SERVER_PORT : 80 * SERVER_PROTOCOL : HTTP/1.1 * SERVER_SOFTWARE : Apache/2.2.3 (CentOS) * _ : _ * action_controller.request.path_parameters : actionshowcontrollersearches * action_controller.request.query_parameters : qevent reminder * action_controller.request.request_parameters: * action_controller.rescue.request: # * action_controller.rescue.response : # * rack.errors : # * rack.input : # * rack.multiprocess : true * rack.multithread: false * rack.request.cookie_hash: __utma64693879.1457489441.1281467710.1284557461.1286377437.10__utmz64693879.1281538814.4.2.utmcsr=linkedin.com| utmccn=(referral)|utmcmd=referral|utmcct=/ profile_gitorious_sess551fa28d01e5758a9f30c40c90a2344d_logged_intrue * rack.request.cookie_string : __utma=64693879.1457489441.1281467710.1284557461.1286377437.10; __utmz=64693879.1281538814.4.2.utmcsr=linkedin.com|utmccn=(referral)| utmcmd=referral|utmcct=/profile; _gitorious_sess=551fa28d01e5758a9f30c40c90a2344d; _logged_in=true * rack.request.query_hash : qevent reminder * rack.request.query_string : q=event+reminder * rack.run_once : false * rack.session: user_id1flash * rack.session.options: cookie_onlytruedomain.gitorious.dev.itaas.compath/ securefalsekey_gitorious_sesssecrethtexpire_after1814400id551fa28d01e5758a9f30c40c90a2344dhttponlytrue * rack.session.record : # * rack.url_scheme : http * rack.version: 10 * Process: 12910 * Server : dev --- Backtrace: --- [RAILS_ROOT]/vendor/plugins/ultrasphinx/lib/ultrasphinx/search/ internals.rb:233:in `%' [RAILS_ROOT]/vendor/plugins/ultrasphinx/lib/ultrasphinx/search/ internals.rb:233:in `convert_sphinx_ids' [RAILS_ROOT]/vendor/plugins/ultrasphinx/lib/ultrasphinx/search/ internals.rb:230:in `map' [RAILS_ROOT]/vendor/plugins/ultrasphinx/lib/ultrasphinx/search/ internals.rb:230:in `convert_sphinx_ids' [RAILS_ROOT]/vendor/plugi
[gitorious] Getting a error email everytime someone tries to do a search
Here is the contents of the email, can anyone give me any insight on how to fix the searches so that they work again, is it a process that isn't running that should be? A Ultrasphinx::DaemonError occurred in searches#show: Connection refused - connect(2) [RAILS_ROOT]/vendor/plugins/ultrasphinx/lib/ultrasphinx/search/ internals.rb:317:in `perform_action_with_retries' --- Request: --- * URL : http://gitorious.dev.itaas.com/search?q=test-clone-4 * IP address: 192.168.53.32 * Parameters: {"action"=>"show", "q"=>"test-clone-4", "controller"=>"searches"} * Rails root: /var/www/gitorious --- Session: --- * session id: nil * data: nil --- Environment: --- * DOCUMENT_ROOT : /var/www/gitorious/ public * HTTP_ACCEPT : text/html,application/ xhtml+xml,application/xml;q=0.9,*/*;q=0.8 * HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7 * HTTP_ACCEPT_ENCODING: gzip,deflate * HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 * HTTP_CONNECTION : keep-alive * HTTP_COOKIE : __utma=64693879.1404910071.1283863025.1291928325.1292342656.7; __utmz=64693879.1291928325.6.4.utmcsr=sharepoint.itaas.com| utmccn=(referral)|utmcmd=referral|utmcct=/Shared%20Documents/Forms/ AllItems.aspx; _gitorious_sess=ccf67693f90f20ef6e08b92df48e696c; _logged_in=true * HTTP_HOST : gitorious.dev.itaas.com * HTTP_KEEP_ALIVE : 115 * HTTP_REFERER: http://gitorious.dev.itaas.com/event-reminder/event-reminder-admin * HTTP_USER_AGENT : Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13 * PASSENGER_CONNECT_PASSWORD : [FILTERED] * PATH_INFO : /search * QUERY_STRING: q=test-clone-4 * REMOTE_ADDR : 192.168.53.32 * REMOTE_PORT : 47139 * REQUEST_METHOD : GET * REQUEST_URI : /search?q=test- clone-4 * SCRIPT_NAME : * SERVER_ADDR : 192.168.53.122 * SERVER_ADMIN: jarrod.rober...@itaas.com * SERVER_NAME : gitorious.dev.itaas.com * SERVER_PORT : 80 * SERVER_PROTOCOL : HTTP/1.1 * SERVER_SOFTWARE : Apache/2.2.3 (CentOS) * _ : _ * action_controller.request.path_parameters : actionshowcontrollersearches * action_controller.request.query_parameters : qtest-clone-4 * action_controller.request.request_parameters: * action_controller.rescue.request: # * action_controller.rescue.response : # * rack.errors : # * rack.input : # * rack.multiprocess : true * rack.multithread: false * rack.request.cookie_hash: __utma64693879.1404910071.1283863025.1291928325.1292342656.7__utmz64693879.1291928325.6.4.utmcsr=sharepoint.itaas.com| utmccn=(referral)|utmcmd=referral|utmcct=/Shared Documents/Forms/ AllItems.aspx_gitorious_sessccf67693f90f20ef6e08b92df48e696c_logged_intrue * rack.request.cookie_string : __utma=64693879.1404910071.1283863025.1291928325.1292342656.7; __utmz=64693879.1291928325.6.4.utmcsr=sharepoint.itaas.com| utmccn=(referral)|utmcmd=referral|utmcct=/Shared%20Documents/Forms/ AllItems.aspx; _gitorious_sess=ccf67693f90f20ef6e08b92df48e696c; _logged_in=true * rack.request.query_hash : qtest-clone-4 * rack.request.query_string : q=test-clone-4 * rack.run_once : false * rack.session: user_id5flash * rack.session.options: cookie_onlytruedomain.gitorious.dev.itaas.compath/ securefalsekey_gitorious_sesssecrethtexpire_after1814400idccf67693f90f20ef6e08b92df48e696chttponlytrue * rack.session.record : # - Hide quoted text - * rack.url_scheme : http * rack.version: 10 * Process: 12457 * Server : dev --- Backtrace: --- [RAILS_ROOT]/vendor/plugins/ultrasphinx/lib/ultrasphinx/search/ internals.rb:317:in `perform_action_with_retries' [RAILS_ROOT]/vendor/plugins/ultrasphinx/lib/ultrasphinx/search.rb: 294
[gitorious] Can't get git-daemon to start on boot.
I am actually suspending a VM and starting it back up. All my other processes start back up except the git-daemon process. here is what my start up script is set to [ro...@[dev] ~ dir /etc/init.d/git-daemon -rwxr-xr-x 1 git git 1.8K Nov 3 13:41 /etc/init.d/git-daemon here is what my chkconfig looks like [ro...@[dev] ~ chkconfig --list | grep git-daemon git-daemon 0:off 1:off 2:on3:on4:on5:on6:off here is what the script directory entry looks like [ro...@[dev] /var/www/gitorious/script dir git-daemon -rwxr-xr-x 1 git git 9.2K Nov 4 18:19 git-daemon all my other start up scripts in /etc/init.d start up and run correctly after bring the VM back on line. this is a CentOS 5.3 install in VMWare Server we are suspending the VM to make a back up of it and then un- suspending it. Anyone have any idea how I can make this stay running after this process? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Repositories get stuck on please wait screen even though the repository is created and usable
I have this happen about 1 out of every 8 times creating a repository. I click create and it gets hung on the "please wait it will be ready pretty soon" screen. Now the repository is actually created and usable as I can push to it and clone it down to my workstation. But the flag in the database gets stuck apparently and the GUI never thinks it actually got created. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] git protocol links not working on my Gitorious install?
all the "Git" protocol links the ones in the following format git://gitorious.my.company.com/my-project/my-repostiory.git don't work, I get the following error Cloning into my-repository... gitorious.my.company.com[0: 192.168.0.100]: errno=No error fatal: unable to connect a socket (No error) How to I get the git protocol to respond correctly on my Gitorious server? The work around is we just use the ssh protocol on all repositories to clone down but I would like these to work as well since they are shown in all the "help" and "instruction" texts all over the site and are causing confusion amongst the new users of this system. -- 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] Managing between gitorious clones
here is how I understand it works you clone Project-A-Staging down to your workstation create a remote called mainline in that workstation repository to Project-A do a git pull from Project-A to this workstation repository the git push to your remote Project-A-staging if I am off here someone please correct me. -- 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: Can I create a Team that is assignable by anyone who creates a Project or Repository?
On Dec 6, 4:49 am, Marius Mårnes Mathiesen wrote: > On Fri, Dec 3, 2010 at 6:48 PM, Jarrod Roberson > wrote: > > > I have created a Team and I would like for anyone who creates a shared > > Project or repository to be able to assign this Team as "owner" of > > that Project. How would I go about doing that without having each > > person re-create this team and have to manage this list of people many > > duplicated times? > > Jarrod, > All users are allowed to transfer ownership of a project to any team they > are admin members of - it would be the same team. > > Does this answer your question? > Sort of, so I have to make everyone an admin of the team they are in so they can assign ownership to it? > 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
[gitorious] Re: How do I keep my gitorious server clone of a repository in sync with it is origin?
On Dec 6, 4:46 am, Marius Mårnes Mathiesen wrote: > On Fri, Dec 3, 2010 at 7:39 PM, Jarrod Roberson > wrote: > > > I have a repository of record and all my developers clone this > > repository using Gitorious and create a private clone on the server, > > then they clone that private clone down to their workstation and > > commit there and push changes to their private clone. Then they > > request merges back to the main repository of record. This is working > > ok for now, but how do I make sure that my private clone on Gitorious > > reflects merges from other developers to the repository of record? I > > guess I need to know how to do a "git pull" on the remote private > > repository? > > This is more of a policy issue, I think? If you work against a private clone > (on Gitorious) it would probably make sense to pull the changes from the > mainline regularly, and to use the mainline repository as an integration > point? > > Cheers, > - Marius GitHub has the ability to pull commits from the repository you cloned from and additionally any clones of that repository. I would be happy if I could just click a button and have it pull the changes from the repository it was cloned from so that I could stay in sync with other team mates changes that made it to the mainline repository at the end of a sprint. -- 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: How do I resend a registration email to someone who never got theirs?
On Nov 15, 5:42 am, Marius Mårnes Mathiesen wrote: > On Mon, Nov 8, 2010 at 7:02 AM, Jarrod Roberson > wrote: > > > I have one team member out of 10 who never got their registration > > email so that they could join in on the Gitorious fun! > > > Is there a way to resend that person their registration link? Or do I > > have to delete them and have them try and register again? > > Jarrod, > You should be able to do it like this using script/console: > > user = User.find_by_login("user_login") > Mailer.deliver_signup_notificaiton(user) > > Cheers, > - Marius How do I get to the "console"? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] How do I keep my gitorious server clone of a repository in sync with it is origin?
I have a repository of record and all my developers clone this repository using Gitorious and create a private clone on the server, then they clone that private clone down to their workstation and commit there and push changes to their private clone. Then they request merges back to the main repository of record. This is working ok for now, but how do I make sure that my private clone on Gitorious reflects merges from other developers to the repository of record? I guess I need to know how to do a "git pull" on the remote private repository? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Can I create a Team that is assignable by anyone who creates a Project or Repository?
I have created a Team and I would like for anyone who creates a shared Project or repository to be able to assign this Team as "owner" of that Project. How would I go about doing that without having each person re-create this team and have to manage this list of people many duplicated times? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Taking over ownership of Projects and Repositories as Administrator
I have a Gitorious server and I need to edit Projects and Repositories that someone else on the team created and is not available to make the changes for an extended period of time. I am the Administrator of the server, is there any way I can re-assign the owner of these projects and repositories to another person so I can make the changes I need to make? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Create Repository Screen Stuck on the Waiting Screen
I have a team member that created a Project and then Created a Repository and that repository is stuck on the This repository is being created, it will be ready pretty soon… screen. Now the repository got created and we can push to it and clone from it fine. It just seems that the database is stuck some how. I tried rebooting the machine and thus restarting all the services but something still seems stuck. Does anyone have any idea how to resolve this? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] How do I resend a registration email to someone who never got theirs?
I have one team member out of 10 who never got their registration email so that they could join in on the Gitorious fun! Is there a way to resend that person their registration link? Or do I have to delete them and have them try and register again? -- 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: should Teams be working?
On Nov 4, 4:28 pm, kevwil wrote: > I've got a local private install of Gitorious, and I think it's 99% > working. Woohoo! However, I have been playing with creating teams, and > there are issues. When I first click the link, I don't see any > existing teams. I go to create a new team, and I have to post twice. > After the second post, it tries to navigate to a URI of "/+" and the > team name, and it gives a 404 response code. I can't tell if teams are > being created or not. This is the only part of setting up Gitorious I didn't have a problem with. I would take a guess that something about the webserver isn't handling the urls correclty. I have mine set up with a VirtualHost entry and SSL turned off in / environments/production.rb -- 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: directories created in the repository all are owned by root:root
To fix this problem I had to set the owner:group of all the gitorious scripts in /etc/init.d/ to be git:git -- 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: can't push to any repositories created by gitorious
Figured what the push problem was. in gitorious.yml I had the gitorious_client_hose set to the default "localhost". Well this isn't working because I installed gitorious as a virtual host at gitorious.dev.mycompany.com and the gitorious script was not getting redirected the gitorious web app thus I was getting the does not appear to be a git repository error message because it wasn't rewriting the repository path correctly. I think the example configuration file should be much more explicit about this problem, and the error message could be much more helpful as well. As it stands now I have Gitorious up and running after 2 days of hacking at it. -- 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: can't push to any repositories created by gitorious
On Nov 4, 8:15 pm, Dan Reiland wrote: > Have you tried using the ssh URL? > > git remote add origin ssh://@yourhost.com:path/repo.git > Thanks for the response, I have manually created a "bare" repository in the "git" users home dir and was able to push to it with an ssh url and it asked me for my password. So git is installed and working from that side. I thought that the URL given on the repository screen which in my case is g...@gitorious.dev.itaas.com:jarrod-roberson/sandbox.git the first part is git, google groups is trying to hard to be smart and trying to obfuscate it was an ssh url, that is what it shows me in the when the (ssh) button is selected on the repository screen. Here is what it says on my local install ( am changing my company name to my company to keep these pages from being indexed with that term which is very unique ) = Pushing your local repository to Gitorious git checkout master git remote add origin g...@gitorious.dev.mycompany.com:jarrod-roberson/ sandbox.git git push origin master = Here is what gitorious.org says about the same data on the same page = Pushing your local repository to Gitorious git checkout master git remote add origin g...@gitorious.org:my-project/new-repos.git git push origin master = And following those instructions works on the gitorious.org repository = PS C:\tmp\test> git remote add new-repos g...@gitorious.org:my-project/ new-repos.git PS C:\tmp\test> git push new-repos master Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (5/5), 453 bytes, done. Total 5 (delta 0), reused 0 (delta 0) => Syncing Gitorious... [OK] To g...@gitorious.org:my-project/new-repos.git * [new branch] master -> master PS C:\tmp\test> -- 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: can't push to any repositories created by gitorious
On Nov 4, 7:56 pm, Jarrod Roberson wrote: > update to problems and solutions I have tried > > I replaced my ssh public key and I am getting a different error now > > PS C:\tmp\test> git remote add origin > g...@gitorious.dev.my_company.com:jarrod-roberson/sandbox.git > PS C:\tmp\test> git push origin master > > == Gitorious: > == > Access denied or wrong repository path > On continued struggles with this, it appears that I can't even ssh into my dev box with ssh and a public key set on the server. Weird thing is I can ssh with a public key set for user "root" but not for user "git" using the exact same "authorized_keys" file. And I have confirmed a dozen times that the "authorized_keys" in the / home/git/.ssh/ directory has the correct owners, groups and permissions. -- 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: can't push to any repositories created by gitorious
On Nov 4, 8:23 pm, Dan Reiland wrote: > Also, do you have your git-daemon configured for the correct path? I think so repository creation works just fine. where is that set up in the gitorious.yml file? -- 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: can't push to any repositories created by gitorious
One more detail, I changed my public key on the gitorious.org website to be the same one I am using for my local install and was able to add it to my local repository as a remote and push to it without any problems, so it seems that I still have a configuration issue somewhere locally. -- 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: can't push to any repositories created by gitorious
update to problems and solutions I have tried I replaced my ssh public key and I am getting a different error now PS C:\tmp\test> git remote add origin g...@gitorious.dev.my_company.com:jarrod-roberson/sandbox.git PS C:\tmp\test> git push origin master == Gitorious: == Access denied or wrong repository path -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] can't push to any repositories created by gitorious
>From my laptop PS C:\Users\JarrodR\Projects\sandbox> git init Initialized empty Git repository in C:/Users/JarrodR/Projects/ sandbox/.git/ PS C:\Users\JarrodR\Projects\sandbox> touch .gitignore PS C:\Users\JarrodR\Projects\sandbox> git add . PS C:\Users\JarrodR\Projects\sandbox> git commit -m "initializing repository" [master (root-commit) 71ca00e] initializing repository 0 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore PS C:\Users\JarrodR\Projects\sandbox> git remote add origin g...@gitorious.dev.itaas.com:jarrod-roberson/sandbox.git PS C:\Users\JarrodR\Projects\sandbox> git push origin master g...@gitorious.dev.itaas.com's password: fatal: 'jarrod-roberson/sandbox.git' does not appear to be a git repository fatal: The remote end hung up unexpectedly I don't understand why it is asking for my git user password? I created a dsa key pair and uploaded the public key via the GUI and it is in the .ssh/authorized_keys for the git user. I made sure that my git-daemon is running [ro...@[dev] ~ service --status-all acpid (pid 2415) is running... anacron is stopped atd (pid 2995) is running... auditd (pid 2156) is running... automount (pid 2460) is running... Avahi daemon is running Avahi DNS daemon is not running hcid (pid 2329) is running... sdpd (pid 2333) is running... conmand is stopped cpuspeed is stopped crond (pid 2944) is running... cupsd (pid 2685) is running... dnsmasq is stopped dund is stopped Usage: /etc/init.d/firstboot {start|stop} Usage: /etc/init.d/git-daemon {start|stop|restart|condrestart poller: running [pid 2932] (in /var/www/gitorious) Daemon is stopped. gpm (pid 2852) is running... hald (pid 3056) is running... hidd (pid 2435) is running... httpd (pid 2880) is running... hudson (pid 2511) is running... ibmsphalt is stopped Firewall is stopped. Firewall is stopped. irattach is stopped irqbalance is stopped Checking jexec statuskrb524d is stopped mcstransd is stopped mdadm is stopped mdmpd is stopped memcached (pid 2803) is running... dbus-daemon (pid 2316) is running... Usage: /etc/init.d/moinmoin {start|stop|restart} multipathd is stopped mysqld (pid 2775) is running... netconsole module not loaded netplugd is stopped Configured devices: lo eth0 Currently active devices: lo eth0 NetworkManager is stopped rpc.mountd is stopped nfsd is stopped rpc.rquotad is stopped rpc.statd (pid 2260) is running... nscd is stopped oddjobd is stopped pand is stopped pcscd (pid 2401) is running... portmap (pid 2224) is running... Process accounting is disabled. rdisc is stopped rpc.idmapd (pid 2293) is running... saslauthd is stopped searchd is stopped sendmail (pid 2830) is running... smartd (pid 3118) is running... openssh-daemon (pid 2672) is running... /etc/init.d/stomp: line 35: status_of_proc: command not found syslogd (pid 2188) is running... klogd (pid 2191) is running... tcsd is stopped Webmin (pid 3124) is running wpa_supplicant is stopped xfs (pid 2969) is running... ypbind is stopped yum-updatesd (pid 3123) is running... and everything should have the correct permissions now [ro...@[dev] /etc/init.d/ls -lha -- snipped irrelevant entries -- -rwxr-xr-x 1 git git 1.8K Nov 3 13:41 git-daemon -rwxr-xr-x 1 git git 313 Nov 3 13:36 gitorious-poller -rwxr-xr-x 1 git git 991 Nov 2 19:11 git-ultrasphi -- snipped irrelevant entries -- -rwxr-xr-x 1 root root 3.4K Sep 12 12:00 sshd -rwxr-xr-x 1 git git 1.4K Nov 3 11:47 stomp -- snipped irrelevant entries -- -- 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: Can't create Repository on my Gitorious install
On Nov 3, 2:14 pm, Dan Reiland wrote: > Have you tried running git-daemon as your gitorious_user as defined in > config/gitorious.yml? > I changed all the gitorious related init.d scripts to be git:git and things are almost working I can create repositories now but I can't push to anything PS C:\Users\JarrodR\Projects> git fetch origin master g...@gitorious.dev.itaas.com's password: fatal: 'my_project/my_repository.git' does not appear to be a git repository fatal: The remote end hung up unexpectedly -- 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: Can't create Repository on my Gitorious install
On Nov 3, 12:13 pm, Jarrod Roberson wrote: > I have fixed the login issues, and Project creation issues. > > Now when I try and create a repository it just hangs and goes into a > refresh loop displaying the following on the screen. > > This repository is being created, > it will be ready pretty soon… > > What should I look at to resolve this issue? > I finally figured this out, the poller wasn't running from the service command for some reason. If I ran the poller script manually, it would create the repositories, but with owner:group root:root instead of git:git. I edited my gitorious-poller script and the repositories get created, but they still are owned by root? Any ideas on how to get them to be owned by git:git instead? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] directories created in the repository all are owned by root:root
Gitorious blows up when I navigate to these repositories, if I go chown them to git:git then it works. This is the last hurdle I have to overcome to have Gitorious up and running smoothly I think. This is like peeling an onion, trying to get everything up and talking to each other. I can't wait to start using this in my team. What should I do to get the repository directories to be created with the owner group of git:git ? -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Can't create Repository on my Gitorious install
I have fixed the login issues, and Project creation issues. Now when I try and create a repository it just hangs and goes into a refresh loop displaying the following on the screen. This repository is being created, it will be ready pretty soon… What should I look at to resolve this issue? Thanks in advance. -- 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: Error on creating new Project in Gitorious
On Nov 3, 11:14 am, Jarrod Roberson wrote: > I am trying to create a test repository in my newly working Gitorious > server. Thanks for the help with the login problem. > > What could be causing this issue. > I have checked permissions everything that should be git:git is. > I have checked that my git-daemon and gitorious-poller are running. > I followed these > instructions:http://gitorious.org/gitorious/pages/Rhel_Installation > > Below is the error report that gets printed anytime I try and create a > Project from the web page. > I figured out what was causing this error, I selected a more advanced stomp init.d script that used something called start-stop-daemon and it is not install on centos by default, I got it, compiled it and installed it in /usr/sbin and init.d/stomp started working -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Error on creating new Project in Gitorious
I am trying to create a test repository in my newly working Gitorious server. Thanks for the help with the login problem. What could be causing this issue. I have checked permissions everything that should be git:git is. I have checked that my git-daemon and gitorious-poller are running. I followed these instructions: http://gitorious.org/gitorious/pages/Rhel_Installation Below is the error report that gets printed anytime I try and create a Project from the web page. A Timeout::Error occurred in projects#create: execution expired /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/1.8/timeout.rb:60:in `socket' --- Request: --- * URL : http://gitorious.dev.mycompany.com/projects * IP address: 192.168.49.23 * Parameters: {"commit"=>"Create project", "action"=>"create", "project"=>{"slug"=>"test", "title"=>"test", "license"=>"None", "mailinglist_url"=>"", "owner_id"=>"1", "wiki_enabled"=>"1", "tag_list"=>"", "description"=>"test", "home_url"=>"", "bugtracker_url"=>"", "owner_type"=>"User"}, "controller"=>"projects"} * Rails root: /var/www/gitorious --- Session: --- * session id: nil * data: nil --- Environment: --- * CONTENT_LENGTH : 338 * CONTENT_TYPE: application/x-www- form-urlencoded * DOCUMENT_ROOT : /var/www/gitorious/ public * HTTP_ACCEPT : text/html,application/ xhtml+xml,application/xml;q=0.9,*/*;q=0.8,application/json * HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7 * HTTP_ACCEPT_ENCODING: gzip,deflate * HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 * HTTP_CONNECTION : keep-alive * HTTP_COOKIE : __utma=64693879.1457489441.1281467710.1284557461.1286377437.10; __utmz=64693879.1281538814.4.2.utmcsr=linkedin.com|utmccn=(referral)| utmcmd=referral|utmcct=/profile; _gitorious_sess=e4cd26beb45ec01838e85a3eea9c3ae1; _logged_in=true * HTTP_HOST : gitorious.dev.itaas.com * HTTP_KEEP_ALIVE : 115 * HTTP_REFERER: http://gitorious.dev.itaas.com/new * HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 * PASSENGER_CONNECT_PASSWORD : [FILTERED] * PATH_INFO : /projects * QUERY_STRING: * REMOTE_ADDR : 192.168.49.23 * REMOTE_PORT : 54922 * REQUEST_METHOD : POST * REQUEST_URI : /projects * SCRIPT_NAME : * SERVER_ADDR : 192.168.53.122 * SERVER_ADMIN: jarrod.rober...@itaas.com * SERVER_NAME : gitorious.dev.itaas.com * SERVER_PORT : 80 * SERVER_PROTOCOL : HTTP/1.1 * SERVER_SOFTWARE : Apache/2.2.3 (CentOS) * _ : _ * action_controller.request.path_parameters : actioncreatecontrollerprojects * action_controller.request.query_parameters : * action_controller.request.request_parameters: commitCreate projectprojectslugtesttitletestlicenseNoneowner_id1mailinglist_urltag_listwiki_enabled1home_urldescriptiontestbugtracker_urlowner_typeUser * action_controller.rescue.request: # * action_controller.rescue.response : # * rack.errors : # * rack.input : # * rack.multiprocess : true * rack.multithread: false * rack.request.cookie_hash: __utma64693879.1457489441.1281467710.1284557461.1286377437.10__utmz64693879.1281538814.4.2.utmcsr=linkedin.com| utmccn=(referral)|utmcmd=referral|utmcct=/ profile_gitorious_sesse4cd26beb45ec01838e85a3eea9c3ae1_logged_intrue * rack.request.cookie_string : __utma=64693879.1457489441.1281467710.1284557461.1286377437.10; __utmz=64693879.1281538814.4.2.utmcsr=linkedin.com|utmccn=(referral)| utmcmd=referral|utmcct=/profile; _gitorious_sess=e4cd26beb45ec01838e85a3eea9c3ae1; _logged_in=true * rack.request.form_hash : commitCreate projectprojectslugtesttitletestlicenseNonemailinglist_urlowner_id1wiki_enabled1tag_listdescriptiontesthome_urlbugtracker_urlowner_typeUser * rack.request.form_input : # * rack.request.form_vars : project%5Btitle %5D=test&project%5Bslug%5D=test&p
[gitorious] Re: Error on login with SSL disabled
On Nov 3, 8:18 am, Marius Mårnes Mathiesen wrote: > On Wed, Nov 3, 2010 at 2:36 AM, Jarrod Roberson > wrote: > > > I am getting the following error when I try and log in with SSL > > disabled. What do I need to do to fix this please? > > > A ActionView::TemplateError occurred in sessions#new: > > > undefined method `call' for "Email":String > > On line #37 of app/views/sessions/new.html.erb > > Ah, that would probably be the i18n rubygem conflicting with Gitorious' > Rails version. `gem uninstall i18n` should do the trick. > > Cheers, > - Marius Thanks for the prompt response, that appears to have fixed it. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Error on login with SSL disabled
I am getting the following error when I try and log in with SSL disabled. What do I need to do to fix this please? A ActionView::TemplateError occurred in sessions#new: undefined method `call' for "Email":String On line #37 of app/views/sessions/new.html.erb 34: 35: 36: 37: <%= t("views.sessions.label").call(self) %> 38: <%= text_field_tag 'email', params[:email] %> 39: 40: app/views/sessions/new.html.erb:37 vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb: 36:in `call' vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb: 36:in `capture' vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb: 129:in `with_output_buffer' vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb: 36:in `capture' vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb: 466:in `form_tag_in_block' vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb: 39:in `form_tag' app/views/sessions/new.html.erb:27 vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' vendor/rails/actionpack/lib/action_view/base.rb:265:in `render' vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout' vendor/rails/actionpack/lib/action_view/base.rb:262:in `render' vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file' vendor/rails/actionpack/lib/action_controller/base.rb:945:in `render_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb: 17:in `ms' /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/1.8/benchmark.rb:308:in `realtime' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb: 17:in `ms' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' vendor/rails/actionpack/lib/action_controller/base.rb:1326:in `default_render' vendor/rails/actionpack/lib/action_controller/base.rb:1332:in `perform_action_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb: 17:in `ms' /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/1.8/benchmark.rb:308:in `realtime' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb: 17:in `ms' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb: 437:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130 vendor/rails/actionpack/lib/action_controller/string_coercion.rb: 25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb: 25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb: 15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/ abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/ abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active
[gitorious] Can't get login to work with or without SSL Centos 5.5?
I can't figure out how to get Gitorious to work with my Centos 5.5 server. I have it up and running, but everytime I click on the "Login" link it redirects to an SSL page and I get an error page saying "Could Not Connect". I don't have mod_ssl listed in my httpd.conf file that I can find. So I tried to add SslRequirement.disable_ssl_check = true to my production.rb file, but then every time I click on "login" I get a generic 500 error that says. "We are sorry, but something went wrong." so can anyone point me in the right direction on getting login working with either SSL, or without SSL. It would be nice to have SSL working, but this is an intranet server so SSL won't be a deal breaker. Thanks in advance. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com