[gitorious] Gitorious merge request chinese support problem

2013-04-16 Thread Qiang Yu
Hi guys,

I have chinese language support problem in gitorious. When type in comments 
in chinese in the gitorious 
merge request page, the content will be displayed in "" after 
submit. Does gitoriouse support
chinese? How can I fix this?

Regards,
Qiang

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

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [gitorious] Gitorious merge request chinese support problem

2013-04-17 Thread Qiang Yu
This happens on my own server.

Thank you, your method solves the chinese display problem in merge request
comment.
But other places like merge request title and desciption have the same
problem. How can this be solved in all and rootly?


On Wed, Apr 17, 2013 at 5:00 PM, Marius Mårnes Mathiesen <
marius.mathie...@gmail.com> wrote:

>
> Qiang Yu writes:
> > I have chinese language support problem in gitorious. When type in
> comments
> > in chinese in the gitorious
> > merge request page, the content will be displayed in "" after
> > submit. Does gitoriouse support
> > chinese? How can I fix this?
>
> Huh, I'm a little surprised this hasn't come up yet. This appears to be
> caused by a mismatch between the character set specified in your
> database.yml and the character set in your mysql tables.
>
> I just did the following in my local Gitorious installation:
> - Comment on a merge request entering the unicode symbol U+2665
> (♥). This was rendered as a "?" character in the UI. The default
> character set for the comments table in my database was "latin1" and my
> database.yml specified utf8 as the character set
> - In a mysql console I entered "alter table comments convert to
> character set utf8". This converts the table, both existing data and
> future rows inserted
> - Again, I entered the same Unicode character in a merge request
> comment, and it rendered as expected
>
> I'm assuming UTF-8 would be the best character set for Chinese, so that
> would probably be the safest bet.  Is this happening on your own server,
> or on gitorious.org?
>
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Gitorious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitorious+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [gitorious] Gitorious merge request chinese support problem

2013-04-18 Thread Qiang Yu
Thank you very much. Now chinese can be displayed correctly on my server.


On Thu, Apr 18, 2013 at 3:38 PM, Marius Mårnes Mathiesen <
marius.mathie...@gmail.com> wrote:

>
> Qiang Yu writes:
>
> > This happens on my own server.
> >
> > Thank you, your method solves the chinese display problem in merge
> request
> > comment.
>
> That's great news.
>
> > But other places like merge request title and desciption have the same
> > problem. How can this be solved in all and rootly?
>
> You should do the same to the other tables in the database as well. Open
> a mysql console and enter:
>
> alter table archived_events convert to character set utf8;
> alter table backends convert to character set utf8;
> alter table cloners convert to character set utf8;
> alter table comments convert to character set utf8;
> alter table committerships convert to character set utf8;
> alter table content_memberships convert to character set utf8;
> alter table emails convert to character set utf8;
> alter table events convert to character set utf8;
> alter table favorites convert to character set utf8;
> alter table feed_items convert to character set utf8;
> alter table groups convert to character set utf8;
> alter table hooks convert to character set utf8;
> alter table ldap_groups convert to character set utf8;
> alter table memberships convert to character set utf8;
> alter table merge_request_statuses convert to character set utf8;
> alter table merge_request_versions convert to character set utf8;
> alter table merge_requests convert to character set utf8;
> alter table messages convert to character set utf8;
> alter table open_id_authentication_associations convert to character set
> utf8;
> alter table open_id_authentication_nonces convert to character set utf8;
> alter table project_proposals convert to character set utf8;
> alter table projects convert to character set utf8;
> alter table repositories convert to character set utf8;
> alter table roles convert to character set utf8;
> alter table schema_migrations convert to character set utf8;
> alter table sessions convert to character set utf8;
> alter table sites convert to character set utf8;
> alter table ssh_keys convert to character set utf8;
> alter table taggings convert to character set utf8;
> alter table tags convert to character set utf8;
> alter table users convert to character set utf8;
>
> Afterwards, you should set the default character set for the database:
>
> ALTER DATABASE  CHARACTER SET utf8;
>
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Gitorious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitorious+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gitorious] snapshot fail problem

2014-04-04 Thread Qiang Yu
Hi lists,

I'm trying to snapshot/restore gitrious. But I failed in snapshot step:

git@SERVER:/var/www/gitorious$ script/snapshot 
/var/www/gitorious/bin/setup.rb:58:in `gitorious_config': uninitialized 
constant Gitorious::CLI::YAML (NameError)
from /var/www/gitorious/bin/setup.rb:33:in `require_valid_user!'
from /var/www/gitorious/bin/setup.rb:14:in 
`run_with_gitorious_environment'
from ./bin/snapshot:28

My environment:
1. version 2.4.12
2. login as gitorious install user git
3. execute command in the gitorious install dir

Can somebody help me with this problem? Thanks.

Regards,
Qiang

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

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gitorious] 502 Bad Gateway error when request merge

2014-12-25 Thread Qiang Yu
Hi all,

I'm using Gitorious managing a Linux kernel project. When I request merge,
the page load for
about 1 min, then a 502 bad gateway error page. I'm using the docker
gitorious image which
use NGINX as web server.

Other small projects works fine. So I guess is the Linux kernel project too
large to create a merge
request within some time that gitorious or NGINX sets? How to relax this
timeout?

Regards,
Qiang

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

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.