Problem changing display/hide url settings

183 views
Skip to first unread message

Ricardo Gladwell

unread,
Nov 2, 2011, 8:04:52 AM11/2/11
to gito...@googlegroups.com

Hi Guys

Having a problem with my local install of Gitorious, I initially set my settings for displaying/hiding clone URLs to false. I updated my settings, but I still can't see URLs for my projects:

These are my settings:

  # Hides http:// clone URLs from repository boxes when set to true.
  hide_http_clone_urls: false

  # Hides git:// clone URLs from repository boxes when set to true.
  # Set to true if you don't intend to run a git-daemon.
  hide_git_clone_urls: false

  # Always display SSH URLs, regardless of push access? This setting should be
  # true if you have disabled both HTTP and git:// cloning (typically when
  # Gitorious is running in private mode). Setting this to true will always
  # display the ssh URLs for a repository, even if the current user does not
  # have access to push to it. ssh always allows cloning for users that have
  # uploaded their public key.
  always_display_ssh_url: true

I've tried logging in and out, running touch tmp/restart.txt but nothing seems to work.

TIA...

-- Ricardo Gladwell


Peter Kjellerstedt

unread,
Nov 2, 2011, 11:21:26 AM11/2/11
to gito...@googlegroups.com

Make sure you do not have stale generated javascript files: bundle exec rake assets:clear && touch tmp/restart.txt

 

//Peter

 

From: gito...@googlegroups.com [mailto:gito...@googlegroups.com] On Behalf Of Ricardo Gladwell
Sent: den 2 november 2011 13:05
To: gito...@googlegroups.com
Subject: [gitorious] Problem changing display/hide url settings

 

Hi Guys

Having a problem with my local install of Gitorious, I initially set my settings for displaying/hiding clone URLs to false. I updated my settings, but I still can't see URLs for my projects:

Image removed by sender.

These are my settings:

  # Hides http:// clone URLs from repository boxes when set to true.
  hide_http_clone_urls: false

  # Hides git:// clone URLs from repository boxes when set to true.
  # Set to true if you don't intend to run a git-daemon.
  hide_git_clone_urls: false

  # Always display SSH URLs, regardless of push access? This setting should be
  # true if you have disabled both HTTP and git:// cloning (typically when
  # Gitorious is running in private mode). Setting this to true will always
  # display the ssh URLs for a repository, even if the current user does not
  # have access to push to it. ssh always allows cloning for users that have
  # uploaded their public key.
  always_display_ssh_url: true

I've tried logging in and out, running touch tmp/restart.txt but nothing seems to work.

TIA...

-- Ricardo Gladwell

--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to
gitorious+...@googlegroups.com

Ricardo Gladwell

unread,
Nov 2, 2011, 11:36:29 AM11/2/11
to gito...@googlegroups.com
Hi Peter

Thanks for the response, that seemed to execute without error but I'm still not seeing clone or push URLs.

Anything else I can try? TIA...

-- Ricardo

Christian Johansen

unread,
Nov 2, 2011, 4:39:24 PM11/2/11
to gito...@googlegroups.com
Have you configured the same environment you're running the app from? For most setups, this should be the production environment in both cases.

Christian

--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to
gitorious+...@googlegroups.com



--
MVH
Christian

Ricardo Gladwell

unread,
Nov 3, 2011, 8:22:29 AM11/3/11
to gito...@googlegroups.com
Hi Christian

Thanks for the feedback. I believe I've updated the production section in the gitorious.yml.

I also tried running :

RAILS_ENV=production bundle exec rake assets:clear && touch tmp/restart.txt

But still no joy :( Should I just restart with a clean database?

Any advice would be gratefully received.

TIA...

-- Ricardo Gladwell


Coalescence

unread,
Nov 3, 2011, 2:07:49 PM11/3/11
to Gitorious
I have exactly the same issue.

Fresh install today too..


On Nov 3, 12:22 pm, Ricardo Gladwell <ricardo.gladw...@gmail.com>
wrote:

Christian Johansen

unread,
Nov 4, 2011, 3:43:29 AM11/4/11
to gito...@googlegroups.com
Wiping your database is very unlikely to be helpful. Can you use a tool like Firebug or the web inspector in Chrome and see if there is a JavaScript error on the page (where the URLs are missing)?

Christian

--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to
gitorious+...@googlegroups.com



--
MVH
Christian

Ricardo Gladwell

unread,
Nov 4, 2011, 2:14:05 PM11/4/11
to gito...@googlegroups.com
Hi Christian

I ran Firebug and I'm getting the following error messages:

$ is not defined

TIA...

-- Ricardo Gladwell

Coalescence

unread,
Nov 4, 2011, 6:41:38 AM11/4/11
to Gitorious
I've fixed this by

cd /var/www/gitorious

git submodule init && git submodule update

mv public/stylesheets/all.css ~
mv public/javascripts/all.js ~

(I didn't delete, just in case)

touch tmp/restart.txt

And then a hard reset in the browser (ctrl + shift + r in firefox)

Thanks!


moving the public/javascript/all

On Nov 4, 7:43 am, Christian Johansen <christ...@cjohansen.no> wrote:
> Wiping your database is very unlikely to be helpful. Can you use a tool
> like Firebug or the web inspector in Chrome and see if there is a
> JavaScript error on the page (where the URLs are missing)?
>
> Christian
>
> On Thu, Nov 3, 2011 at 13:22, Ricardo Gladwell
> <ricardo.gladw...@gmail.com>wrote:

DodoFXP

unread,
Nov 25, 2011, 1:51:05 PM11/25/11
to Gitorious
I have the same problem and moving the all.css/all.js did not help.
The error I see in Chrome is on line 138, specifically:
$(document).ready(function() {
Uncaught ReferenceError $ is not defined

Any ideas?

Felipe

Reply all
Reply to author
Forward
0 new messages