Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Custom config
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pablo Seminario  
View profile   Translate to Translated (View Original)
 More options Apr 15 2012, 11:55 am
From: Pablo Seminario <pab...@gmail.com>
Date: Sun, 15 Apr 2012 08:55:04 -0700 (PDT)
Local: Sun, Apr 15 2012 11:55 am
Subject: Custom config

Tengo una duda de como tratar la configuración, porque hice modificaciones
en el archivo dodo.py para cambiar el titulo del sitio y esas cosas, pero
no quiero que esos cambios sean versionados, entonces lo que hice, pero que
no sé si está bien, es copiar dodo.py como dodo-mysite.py y para generar el
sitio uso doit -f dodo-mysite.py y anda sin problemas.
Pero es que hay otra forma mas simple para solo modificar las opciones que
quiero sin tener que tener una copia completa de la config de base?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roberto Alsina  
View profile   Translate to Translated (View Original)
 More options Apr 15 2012, 6:54 pm
From: Roberto Alsina <rals...@netmanagers.com.ar>
Date: Sun, 15 Apr 2012 19:54:42 -0300
Local: Sun, Apr 15 2012 6:54 pm
Subject: Re: Custom config
On 04/15/2012 12:55 PM, Pablo Seminario wrote:

> Tengo una duda de como tratar la configuración, porque hice
> modificaciones en el archivo dodo.py para cambiar el titulo del sitio y
> esas cosas, pero no quiero que esos cambios sean versionados, entonces
> lo que hice, pero que no sé si está bien, es copiar dodo.py como
> dodo-mysite.py y para generar el sitio uso doit -f dodo-mysite.py y anda
> sin problemas.
> Pero es que hay otra forma mas simple para solo modificar las opciones
> que quiero sin tener que tener una copia completa de la config de base?

Es lo mismo que pasa, por ejemplo en django con el django-settings, que
en la maquina de desarrollo y la de produccion son distintos.

No se me ocurre una solucion sencilla. Podriamos tener un dodo.py
standard (o mover los defaults a nikola) y que el usuario haga un
conf.py que sea solamente la configuracion custom.

Por otro lado, pero relacionado:

Seguimos con una copia de Nikola por sitio, o hacemos que sea instalable
y hacemos un comando "nikola" que llame a doit?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pablo Seminario  
View profile   Translate to Translated (View Original)
 More options Apr 16 2012, 10:34 am
From: Pablo Seminario <pab...@gmail.com>
Date: Mon, 16 Apr 2012 16:34:17 +0200
Local: Mon, Apr 16 2012 10:34 am
Subject: Re: Custom config

S , eso me parece lo mas practico. As el usuario deja en un directorio el contenido de su sitio/blog y nada mas.
Una onda:

miblog/
   posts/
   pages/
   gallery/
   config.py

> Por otro lado, pero relacionado:

> Seguimos con una copia de Nikola por sitio, o hacemos que sea
> instalable y hacemos un comando "nikola" que llame a doit?

Yo creo que estar a bueno que sea instalable por el hecho que se pueden poner las dependencias en setup.py y la instalaci n es solo un

    pip install nikola

Creo que es la mejor direcci n.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roberto Alsina  
View profile   Translate to Translated (View Original)
 More options Apr 16 2012, 12:35 pm
From: Roberto Alsina <rals...@netmanagers.com.ar>
Date: Mon, 16 Apr 2012 13:35:59 -0300
Local: Mon, Apr 16 2012 12:35 pm
Subject: Re: Custom config
On 04/16/2012 11:34 AM, Pablo Seminario wrote:

Ok, voy a tratar de implementar esta segunda parte.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »