bug#26006: [Website] Integral update proposal

2017-06-17 Thread sirgazil
On 17/06/17 12:12, Catonano wrote:
> 2017-06-17 18:41 GMT+02:00 sirgazil  >:
>
>
> Catonano, to avoid building all the packages (3-4 minutes in this
> machine), you should run the build like this:
>
> $ GUIX_WEB_SITE_LOCAL=yes haunt build
>
> Also, this way, the website URLs are modified to work locally, and
> only 300 packages will be built for testing.
>
> If you run:
>
> $ haunt build
>
> It will build the website for production, which uses the gnu.org
>  URL path for projects, so running "haunt serve"
> after that won't display the website correctly. In this case, what
> I do is use python server, and not haunt server. Like so:
>
> $ haunt build
> $ cd /tmp/gnu/
> $ python3 -m http.server
>
> Then you can visit http://localhost:8000/, and the site should
> work as if it were in production.
>
>
> All this stuff is good to know, thanks

I should write everything in the README.

>
> I attempted to chhange te build pat to ./build and when seeing it in
> Icecat I got the html as plain text, not rendered.
>
> I reset it to what it was and it works like a charm
>
> Why ?

Yeah, for some reason, system paths specified in Haunt objects can't
have dots. See: https://bitbucket.org/sirgazil/guixsd-website/issues/47/ .

>
> Anyway, now I see the site, I like it but I can't be accurate
>
> I will have to re-red the whole thread to consiider all the issues
>
> Thanks !
> Ciao

Anytime!

-- 
https://sirgazil.bitbucket.io/



bug#26006: [Website] Integral update proposal

2017-06-17 Thread Catonano
2017-06-17 18:41 GMT+02:00 sirgazil :

>
> Catonano, to avoid building all the packages (3-4 minutes in this
> machine), you should run the build like this:
>
> $ GUIX_WEB_SITE_LOCAL=yes haunt build
>
> Also, this way, the website URLs are modified to work locally, and only
> 300 packages will be built for testing.
>
> If you run:
>
> $ haunt build
>
> It will build the website for production, which uses the gnu.org URL path
> for projects, so running "haunt serve" after that won't display the website
> correctly. In this case, what I do is use python server, and not haunt
> server. Like so:
>
> $ haunt build
> $ cd /tmp/gnu/
> $ python3 -m http.server
>
> Then you can visit http://localhost:8000/, and the site should work as if
> it were in production.
>

All this stuff is good to know, thanks

I attempted to chhange te build pat to ./build and when seeing it in Icecat
I got the html as plain text, not rendered.

I reset it to what it was and it works like a charm

Why ?

Anyway, now I see the site, I like it but I can't be accurate

I will have to re-red the whole thread to consiider all the issues

Thanks !
Ciao


bug#26006: [Website] Integral update proposal

2017-06-17 Thread sirgazil
On 17/06/17 11:09, Catonano wrote:
> 2017-06-17 17:46 GMT+02:00 sirgazil  >:
>
> On 17/06/17 02:16, Catonano wrote:
>>
>>
>> 2017-06-17 6:57 GMT+02:00 Catonano > >:
>>
>>
>>
>> 2017-06-16 16:46 GMT+02:00 sirgazil > >:
>>
>>  
>>
>> I'm fine with investigating the missing parts before or
>> after moving to
>> guix-artwork.git.
>>
>>
>> For what it's worth, I vouch for moving all to gnu.org
>>  and possibly expressing the issues in the
>> appropriate debbugs instance
>>
>> Then, I might be able to collaborate in sorting out some issues
>>
>> I never used Mercurial. I should learn from scratch.
>>
>> Also, I can't access the issues on bitbucket because the
>> login doesn't work in Icecat (plus some nonsense about
>> upgrading my account and coming mobile apps that require me
>> some voodoo right now)
>>
>> So I can't see the issues at
>> 
>> https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open
>> 
>> 
>>
>>
>> I managed to install mercurial, but I can't build it
>>
>> [env]$ haunt build
>> Backtrace:
>> In ice-9/boot-9.scm:
>>   2986:16 19 (try-module-autoload _ _)
>>2316:4 18 (save-module-excursion #> ice-9/boo…>)
>>   3006:22 17 (_)
>> In unknown file:
>>   16 (primitive-load-path "apps/blog/utils" #> 11d0…>)
>> In ice-9/eval.scm:
>>721:20 15 (primitive-eval (define-module (apps blog utils) #
>> (…) …))
>> In ice-9/psyntax.scm:
>>   1234:36 14 (expand-top-sequence ((define-module (apps blog #) #
>> …)) …)
>>   1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# #
>> …)) …)
>>284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e
>> (eval) …)
>> In ice-9/eval.scm:
>>293:34 11 (_ #)
>> In ice-9/boot-9.scm:
>>2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _
>> # _ …)
>>   2879:24  9 (_)
>>230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt
>> …)) …))
>>230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #))
>> (#) …))
>>230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi
>> srfi-1)) …))
>>230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #))
>> (#) …))
>>230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((#
>> #)) #))
>>230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
>>230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
>>2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _
>> # _ …)
>> In unknown file:
>>0 (scm-error misc-error #f "~A ~S" ("no code for
>> modu…" …) …)
>>
>
> Catonano, could you try without an environment?
>
> $ cd /path/to/guixsd-website
> $ guix package -i git glibc-locales guile@2.2 
> guile-syntax-highlight guix haunt
>
> I actually work without environments, and it works, but will try
> to reproduce that error.
>
>
> You're right. Like this, it's working
>
> It's building the pages right now !

Catonano, to avoid building all the packages (3-4 minutes in this
machine), you should run the build like this:

$ GUIX_WEB_SITE_LOCAL=yes haunt build

Also, this way, the website URLs are modified to work locally, and only
300 packages will be built for testing.

If you run:

$ haunt build

It will build the website for production, which uses the gnu.org URL
path for projects, so running "haunt serve" after that won't display the
website correctly. In this case, what I do is use python server, and not
haunt server. Like so:

$ haunt build
$ cd /tmp/gnu/
$ python3 -m http.server

Then you can visit http://localhost:8000/, and the site should work as
if it were in production.

-- 
https://sirgazil.bitbucket.io/



bug#26006: [Website] Integral update proposal

2017-06-17 Thread Catonano
2017-06-17 17:46 GMT+02:00 sirgazil :

> On 17/06/17 02:16, Catonano wrote:
>
>
>
> 2017-06-17 6:57 GMT+02:00 Catonano :
>
>>
>>
>> 2017-06-16 16:46 GMT+02:00 sirgazil :
>>
>>>
>>
>> I'm fine with investigating the missing parts before or after moving to
>>> guix-artwork.git.
>>>
>>
>> For what it's worth, I vouch for moving all to gnu.org and possibly
>> expressing the issues in the appropriate debbugs instance
>>
>> Then, I might be able to collaborate in sorting out some issues
>>
>> I never used Mercurial. I should learn from scratch.
>>
>> Also, I can't access the issues on bitbucket because the login doesn't
>> work in Icecat (plus some nonsense about upgrading my account and coming
>> mobile apps that require me some voodoo right now)
>>
>> So I can't see the issues at
>> https://bitbucket.org/sirgazil/guixsd-website/issues?status=
>> new&status=open
>>
>>
> I managed to install mercurial, but I can't build it
>
> [env]$ haunt build
> Backtrace:
> In ice-9/boot-9.scm:
>   2986:16 19 (try-module-autoload _ _)
>2316:4 18 (save-module-excursion #)
>   3006:22 17 (_)
> In unknown file:
>   16 (primitive-load-path "apps/blog/utils" #)
> In ice-9/eval.scm:
>721:20 15 (primitive-eval (define-module (apps blog utils) # (…) …))
> In ice-9/psyntax.scm:
>   1234:36 14 (expand-top-sequence ((define-module (apps blog #) # …)) …)
>   1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
> In ice-9/eval.scm:
>293:34 11 (_ #)
> In ice-9/boot-9.scm:
>2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
>   2879:24  9 (_)
>230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt …)) …))
>230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) (#) …))
>230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi srfi-1)) …))
>230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) (#) …))
>230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# #)) #))
>230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
>230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
>2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
> In unknown file:
>0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
>
>
> Catonano, could you try without an environment?
>
> $ cd /path/to/guixsd-website
> $ guix package -i git glibc-locales guile@2.2 guile-syntax-highlight guix
> haunt
>
> I actually work without environments, and it works, but will try to
> reproduce that error.
>

You're right. Like this, it's working

It's building the pages right now !


bug#26006: [Website] Integral update proposal

2017-06-17 Thread sirgazil
On 17/06/17 02:16, Catonano wrote:
>
>
> 2017-06-17 6:57 GMT+02:00 Catonano  >:
>
>
>
> 2017-06-16 16:46 GMT+02:00 sirgazil  >:
>
>  
>
> I'm fine with investigating the missing parts before or after
> moving to
> guix-artwork.git.
>
>
> For what it's worth, I vouch for moving all to gnu.org
>  and possibly expressing the issues in the
> appropriate debbugs instance
>
> Then, I might be able to collaborate in sorting out some issues
>
> I never used Mercurial. I should learn from scratch.
>
> Also, I can't access the issues on bitbucket because the login
> doesn't work in Icecat (plus some nonsense about upgrading my
> account and coming mobile apps that require me some voodoo right now)
>
> So I can't see the issues at
> 
> https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open
> 
> 
>
>
> I managed to install mercurial, but I can't build it
>
> [env]$ haunt build
> Backtrace:
> In ice-9/boot-9.scm:
>   2986:16 19 (try-module-autoload _ _)
>2316:4 18 (save-module-excursion #)
>   3006:22 17 (_)
> In unknown file:
>   16 (primitive-load-path "apps/blog/utils" #)
> In ice-9/eval.scm:
>721:20 15 (primitive-eval (define-module (apps blog utils) # (…) …))
> In ice-9/psyntax.scm:
>   1234:36 14 (expand-top-sequence ((define-module (apps blog #) # …)) …)
>   1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
> In ice-9/eval.scm:
>293:34 11 (_ #)
> In ice-9/boot-9.scm:
>2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
>   2879:24  9 (_)
>230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt …)) …))
>230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) (#) …))
>230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi srfi-1)) …))
>230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) (#) …))
>230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# #)) #))
>230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
>230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
>2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
> In unknown file:
>0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
>

Catonano, could you try without an environment?

$ cd /path/to/guixsd-website
$ guix package -i git glibc-locales guile@2.2 guile-syntax-highlight
guix haunt

I actually work without environments, and it works, but will try to
reproduce that error.

-- 
https://sirgazil.bitbucket.io/



bug#26006: [Website] Integral update proposal

2017-06-17 Thread Catonano
2017-06-17 17:19 GMT+02:00 sirgazil :

> On 16/06/17 23:57, Catonano wrote:
>
> So I can't see the issues at
> https://bitbucket.org/sirgazil/guixsd-website/
> issues?status=new&status=open
>
>
>
>
>
Sorry about that. The issue tracker was set to private, but I just made it
> public. Also, you can use the tracker "anonymously" (i. e. you don't need a
> Bitbucket account).
>

Ok, I could see the issues

Thanks


bug#26006: [Website] Integral update proposal

2017-06-17 Thread sirgazil
On 16/06/17 23:57, Catonano wrote:
>
>
> 2017-06-16 16:46 GMT+02:00 sirgazil  >:
>
>  
>
> I'm fine with investigating the missing parts before or after
> moving to
> guix-artwork.git.
>
>
> For what it's worth, I vouch for moving all to gnu.org
>  and possibly expressing the issues in the appropriate
> debbugs instance
>
> Then, I might be able to collaborate in sorting out some issues
>
> I never used Mercurial. I should learn from scratch.
>
> Also, I can't access the issues on bitbucket because the login doesn't
> work in Icecat (plus some nonsense about upgrading my account and
> coming mobile apps that require me some voodoo right now)
>
> So I can't see the issues at
> https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open
>

Sorry about that. The issue tracker was set to private, but I just made
it public. Also, you can use the tracker "anonymously" (i. e. you don't
need a Bitbucket account).

-- 
https://sirgazil.bitbucket.io/



bug#24988: Guix requests substitute for non-substitutable package

2017-06-17 Thread Ludovic Courtès
Leo Famulari  skribis:

> On Fri, Jun 16, 2017 at 10:56:17AM +0200, Ludovic Courtès wrote:
>> --8<---cut here---start->8---
>> $ guix package -e '(@@ (gnu packages tex) texlive-texmf)' -n
>> The following package would be installed:
>>texlive-texmf2016
>> /gnu/store/qnz85bcaw899rkv1bpgb0121ma5b9vzk-texlive-texmf-2016
>> 
>> substitute: updating list of substitutes from 
>> 'https://mirror.hydra.gnu.org'... 100.0%
>> The following derivations would be built:
>>/gnu/store/dawkcdisqbkhcdh7jnvv4riyn776il1j-profile.drv
>>/gnu/store/izfgalbxmalakjwqg3dv67g4cg6i5j2h-fonts-dir.drv
>>/gnu/store/3g2j8m7kfbr49277007qivx01h2mm88d-texlive-texmf-2016.drv
>>/gnu/store/37ghxb96mnjamid1vqgbmlllqqd6yl6k-ca-certificate-bundle.drv
>>/gnu/store/2dqinwxwg5fanbcsnxlw5rh15pgzanps-info-dir.drv
>>/gnu/store/5bmwih8gdncsdxlvv1fn2az3jy55s6w1-manual-database.drv
>> 2105.2 MB would be downloaded:
>>/gnu/store/459shrba10iz1g4wqkf4y2fyiravla6v-mkfontscale-1.1.2
>>/gnu/store/g7lnq940sn01iiaj1pvm72r2c29pgbp4-mkfontdir-1.0.7
>>/gnu/store/y3nhc5n2misr91ydp907s50irjcssdfv-texlive-20160523b-texmf.tar.xz
>> [...]
>> --8<---cut here---end--->8---
>
> I noticed this before the recent work on modular Texlive.

Yes, this is unrelated to modular texlive.  What I meant to show here is
that ‘texlive-texmf’ is built from source.

Ludo’.





bug#26006: [Website] Integral update proposal

2017-06-17 Thread Catonano
2017-06-17 6:57 GMT+02:00 Catonano :

>
>
> 2017-06-16 16:46 GMT+02:00 sirgazil :
>
>>
>
> I'm fine with investigating the missing parts before or after moving to
>> guix-artwork.git.
>>
>
> For what it's worth, I vouch for moving all to gnu.org and possibly
> expressing the issues in the appropriate debbugs instance
>
> Then, I might be able to collaborate in sorting out some issues
>
> I never used Mercurial. I should learn from scratch.
>
> Also, I can't access the issues on bitbucket because the login doesn't
> work in Icecat (plus some nonsense about upgrading my account and coming
> mobile apps that require me some voodoo right now)
>
> So I can't see the issues at
> https://bitbucket.org/sirgazil/guixsd-website/
> issues?status=new&status=open
>
>
I managed to install mercurial, but I can't build it

[env]$ haunt build
Backtrace:
In ice-9/boot-9.scm:
  2986:16 19 (try-module-autoload _ _)
   2316:4 18 (save-module-excursion #)
  3006:22 17 (_)
In unknown file:
  16 (primitive-load-path "apps/blog/utils" #)
In ice-9/eval.scm:
   721:20 15 (primitive-eval (define-module (apps blog utils) # (…) …))
In ice-9/psyntax.scm:
  1234:36 14 (expand-top-sequence ((define-module (apps blog #) # …)) …)
  1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/eval.scm:
   293:34 11 (_ #)
In ice-9/boot-9.scm:
   2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  2879:24  9 (_)
   230:29  8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt …)) …))
   230:29  7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) (#) …))
   230:29  6 (map1 (((haunt post)) ((ice-9 match)) ((srfi srfi-1)) …))
   230:29  5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) (#) …))
   230:29  4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# #)) #))
   230:29  3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #))
   230:17  2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#)))
   2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
   0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)