Re: Replacing web assets with symlinks to packaged versions

2016-07-12 Thread Jakub Wilk
* Thomas Goirand , 2016-07-12, 14:54: The usual way to do things here, is to delete the files from the tree before building the package, just to make sure that you're not using it. But my understanding is that it's otherwise fine to just leave it there, ACK even though it'd be better to repa

Re: Replacing web assets with symlinks to packaged versions

2016-07-12 Thread Thomas Goirand
On 07/09/2016 07:21 PM, Enrico Zini wrote: > On Sat, Jul 09, 2016 at 02:06:36PM +0100, Ian Jackson wrote: > >> As I understand it, your problem is that: >> >> * Upstream wants the upstream tarball to contain a copy of bootstrap >> * Debian wants the copy of bootstrap removed from the source pack

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Craig Small
Hi Enrico, Have you looked at dh-linktree? I use that in wordpress so if the package has the right files it makes symlinks to the relavant spot and adds the package to the binary dependency. - Craig

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread David Prévot
Hi, Le 09/07/2016 à 08:32, Enrico Zini a écrit : > As Debian packager of it, I want twitter bootstrap in example/theme to > be symlinks to what's in libjs-twitter-bootstrap. You probably want libjs-bootstrap (version 3) instead of the orphaned libjs-twitter-bootstrap (version 2). Regards David

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Enrico Zini
On Sat, Jul 09, 2016 at 02:06:36PM +0100, Ian Jackson wrote: > As I understand it, your problem is that: > > * Upstream wants the upstream tarball to contain a copy of bootstrap > * Debian wants the copy of bootstrap removed from the source package > * But none of our source formats can replac

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Enrico Zini
On Sat, Jul 09, 2016 at 08:00:48AM -0700, Josh Triplett wrote: > > On ശനി 09 ജൂലൈ 2016 07:01 വൈകു, Pirate Praveen wrote: > > > You just add a links file in your package to replace the js to symlinks. > > > And add dependency on the js package. > > > That's all you'll need. [...] > No, you don't h

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Pirate Praveen
On 2016, ജൂലൈ 9 8:41:46 PM IST, Balasankar C wrote: >Ah. My mistake. I misunderstood the query. BTW, in this case, we can >just use >gbp.conf (if using gbp) to remove the redundant file while importing >new >version, right? We have been doing that for many of the rails-assets-* >packages >in Deb

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Balasankar C
On ശനി 09 ജൂലൈ 2016 08:30 വൈകു, Josh Triplett wrote: > Balasankar C wrote: >> On ശനി 09 ജൂലൈ 2016 07:01 വൈകു, Pirate Praveen wrote: >>> On 2016, ജൂലൈ 9 6:02:12 PM IST, Enrico Zini wrote: Hello, as upstream of https://github.com/spanezz/staticsite I want it so that when people g

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Josh Triplett
Balasankar C wrote: > On ശനി 09 ജൂലൈ 2016 07:01 വൈകു, Pirate Praveen wrote: > > On 2016, ജൂലൈ 9 6:02:12 PM IST, Enrico Zini wrote: > >> Hello, > >> > >> as upstream of https://github.com/spanezz/staticsite I want it so that > >> when people git clone it or open a tarball of it, it just works, > >>

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Pirate Praveen
On 2016, ജൂലൈ 9 7:29:47 PM IST, Balasankar C wrote: >On ശനി 09 ജൂലൈ 2016 07:01 വൈകു, Pirate Praveen wrote: >> >> >> On 2016, ജൂലൈ 9 6:02:12 PM IST, Enrico Zini >wrote: >>> Hello, >>> >>> as upstream of https://github.com/spanezz/staticsite I want it so >that >>> when people git clone it or op

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Guus Sliepen
On Sat, Jul 09, 2016 at 07:29:47PM +0530, Balasankar C wrote: > >> as upstream of https://github.com/spanezz/staticsite I want it so that > >> when people git clone it or open a tarball of it, it just works, > >> with no need of installing twitter bootstrap in example/theme manually. > >> > >> As

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Balasankar C
On ശനി 09 ജൂലൈ 2016 07:01 വൈകു, Pirate Praveen wrote: > > > On 2016, ജൂലൈ 9 6:02:12 PM IST, Enrico Zini wrote: >> Hello, >> >> as upstream of https://github.com/spanezz/staticsite I want it so that >> when people git clone it or open a tarball of it, it just works, >> with no need of installing

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Guus Sliepen
On Sat, Jul 09, 2016 at 02:32:12PM +0200, Enrico Zini wrote: > as upstream of https://github.com/spanezz/staticsite Hm, it seems you didn't like ikiwiki because of the template system it uses. But there's a huge number of plugins for ikiwiki (which may also explain why it's slower than staticsite

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Pirate Praveen
On 2016, ജൂലൈ 9 6:02:12 PM IST, Enrico Zini wrote: >Hello, > >as upstream of https://github.com/spanezz/staticsite I want it so that >when people git clone it or open a tarball of it, it just works, >with no need of installing twitter bootstrap in example/theme manually. > >As Debian packager of

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Ian Jackson
Enrico Zini writes ("Replacing web assets with symlinks to packaged versions"): > as upstream of https://github.com/spanezz/staticsite I want it so that > when people git clone it or open a tarball of it, it just works, > with no need of installing twitter bootstrap in exa

Re: Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Marco d'Itri
On Jul 09, Enrico Zini wrote: > Could we have another LD_PRELOAD hack that replaced instances of > jquery.min.js to symlinks to libjs-jquery contents? Probably not, because some upstream maintainer will want to depend on a specific release of the library. -- ciao, Marco signature.asc Descrip

Replacing web assets with symlinks to packaged versions

2016-07-09 Thread Enrico Zini
Hello, as upstream of https://github.com/spanezz/staticsite I want it so that when people git clone it or open a tarball of it, it just works, with no need of installing twitter bootstrap in example/theme manually. As Debian packager of it, I want twitter bootstrap in example/theme to be symlinks