Re: Browsing the source

2016-02-16 Thread Mooffie
> On 2/16/16, Yury V. Zaytsev  wrote:
>> > Global doesn't seem to be available as a package on RHEL though?! :-(
>>
>> http://www.geocities.co.jp/keep_creating/sanaly/index.html

BTW, you need to install just the "global" package. You don't need
"pygments" and "sanaly".

(I use htags to create static HTML pages but it can also produce
alternative output for servers supporting CGI (Perl). I guess "sanaly"
is something similar.)
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: Browsing the source

2016-02-16 Thread Mooffie
On 2/16/16, Yury V. Zaytsev  wrote:
> On 2/16/16, Mooffie  wrote:
> > If I get write access to MC's wiki I can prepare a page listing the
> > steps to generate this documentation
>
> Done.

Ouch! I created a MarkDown instructions page before I got your reply.
Here it is:

https://gist.github.com/mooffie/72d58969eceb885febf5

(I'll convert it to MC's wiki sometime.)

> Could you please tell how much time is required for generation, I'm
> wondering whether I can simply have it run upon every commit or rather
> it would be more appropriate to let it run hourly / nightly or so.

As the instructions page explains, there are three commands to run
(gtags, htags, htagsfix). On my computer it takes about 3 minutes
total. But I'm using an old Pentium 4. I imagine modern computers do
this in at least 20% of the time: 35 seconds top.

> > Global doesn't seem to be available as a package on RHEL though?! :-(
>
> http://www.geocities.co.jp/keep_creating/sanaly/index.html

I see that this is the newest 'global' version. Good. You can ignore
the "appendix" on the instructions page.

> > We can also provide a downloadable tarball
> > (around 12 MB) so people can have it right away.

Anybody who's interested can download the HTML archive here:

http://www.typo.co.il/~mooffie/tmp/mc/mc-source-html.PASSWORD.tgz

Replace "PASSWORD" with "bird" (sorry for this silly trick. I don't
want people to stress the server).
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: Browsing the source

2016-02-16 Thread Yury V. Zaytsev

On Tue, 16 Feb 2016, Yury V. Zaytsev wrote:

I can put it on http://midnight-commander.org/global or whatever would be the 
most appropriate URL if you can explain how to generate it.


Could you please tell how much time is required for generation, I'm wondering 
whether I can simply have it run upon every commit or rather it would be more 
appropriate to let it run hourly / nightly or so.


Current plan: write a shell script & commit to the repository. Set up a 
cron job on m-c.o to fetch, hard reset to each remote branch, and generate 
an index. Set up nginx to serve the directory.


Alternative possibility: generate indices on Travis for every commit it 
builds, deploy to Github pages? Advantages: one service less on the 
project infra. Problem 1: Travis only has global 5.7.1, is there an Ubuntu 
PPA with a newer version? Problem 2: need to be smart about branches, more 
complicated script, looks like it will take more time to get to work.



Global doesn't seem to be available as a package on RHEL though?! :-(


http://www.geocities.co.jp/keep_creating/sanaly/index.html

Re. wiki editing privileges, I can grant them as soon as I get access to my 
admin account.


Done.

--
Sincerely yours,
Yury V. Zaytsev

___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel