Re: mkdocs and tracking

2024-07-20 Thread Otto Kekäläinen
Hi Salvo! Can you please file this request as a Debian bug? I am planning to update the package with Ahmed, and we can look into patching the external asset loading, and I can teach Ahmed how to close bugs via changelog etc Thanks!

Re: mkdocs and tracking

2024-07-14 Thread Andrey Rakhmatullin
if I'm generating html and > publishing it using mkdocs. That's something for the upstream to change. -- WBR, wRAR signature.asc Description: PGP signature

Re: mkdocs and tracking

2024-07-14 Thread Dmitry Shachnev
Hi Salvo! On Sun, Jul 14, 2024 at 12:19:43AM +0200, Salvo Tomaselli wrote: > Sorry for the OT, but should we consider patching mkdocs themes to stop > linking to external websites (mostly cloudflare) for static assets? dh_mkdocs supports replacing highlight.js from cloudflare with the pa

Re: mkdocs and tracking

2024-07-14 Thread Andrey Rakhmatullin
On Sun, Jul 14, 2024 at 12:19:43AM +0200, Salvo Tomaselli wrote: > Sorry for the OT, but should we consider patching mkdocs themes to stop > linking to external websites (mostly cloudflare) for static assets? > > This has been used to create security vulnerabilities recently

Re: mkdocs and tracking

2024-07-13 Thread weepingclown
>On 13 July 2024 10:19:43 pm UTC, Salvo Tomaselli wrote: >>Sorry for the OT, but should we consider patching mkdocs themes to stop >>linking to external websites (mostly cloudflare) for static assets? >> >>This has been used to create security vulnerabilities recently (see for the >>polyfill situation). >>

Re: mkdocs and tracking

2024-07-13 Thread weepingclown
patching mkdocs themes to stop >linking to external websites (mostly cloudflare) for static assets? > >This has been used to create security vulnerabilities recently (see for the >polyfill situation). >

Re: python-mkdocs new version coordination

2024-07-13 Thread Brian May
Otto Kekäläinen writes: > Are you OK that I upload a new python-mkdocs version together with > Ahmed (CCd)? Fine with me, I haven't had a lot of time for Debian lately. -- Brian May @ Debian

Re: python-mkdocs new version coordination

2024-07-13 Thread Carsten Schoenert
Hello Otto, Am 13.07.24 um 18:40 schrieb Otto Kekäläinen: Hi Brian, Nick and Carsten! Are you OK that I upload a new python-mkdocs version together with Ahmed (CCd)? Asking to avoid duplicate work with you who are marked as maintainer/uploader/recent committed. We will do the work at https

python-mkdocs new version coordination

2024-07-13 Thread Otto Kekäläinen
Hi Brian, Nick and Carsten! Are you OK that I upload a new python-mkdocs version together with Ahmed (CCd)? Asking to avoid duplicate work with you who are marked as maintainer/uploader/recent committed. We will do the work at https://salsa.debian.org/python-team/packages/python-mkdocs

mkdocs

2018-03-15 Thread Brian May
Hello, I am thinking now (with the migration to Salsa) is a good time to move all the packages directly related to mkdocs to PAPT: mkdocs-bootstrap - bootstrap themes for MkDocs mkdocs-bootswatch - bootswatch themes for MkDocs mkdocs - Static site generator geared towards building project

Re: python-markdown and mkdocs circular build-dep

2018-01-12 Thread Dmitry Shachnev
Thanks Ghislain and Simon for your responses. It turns out mkdocs need python-markdown not for tests, but rather for building its own docs. So probably the correct way to go is to make sure both packages take the nodoc build profile into account. On Thu, Jan 11, 2018 at 11:29:34AM +, Simon

Re: python-markdown and mkdocs circular build-dep

2018-01-11 Thread Simon McVittie
On Thu, 11 Jan 2018 at 13:35:13 +0300, Dmitry Shachnev wrote: > The new release of python-markdown has switched docs building from its own > custom build system to mkdocs. However python-mkdocs itself build-depends on > python3-markdown for tests, which results in a circular build-depend

Re: python-markdown and mkdocs circular build-dep

2018-01-11 Thread Ghislain Vaillant
2018-01-11 10:35 GMT+00:00 Dmitry Shachnev : > Hi Brian and list, > > The new release of python-markdown has switched docs building from its own > custom build system to mkdocs. However python-mkdocs itself build-depends on > python3-markdown for tests, which results in a circular b

python-markdown and mkdocs circular build-dep

2018-01-11 Thread Dmitry Shachnev
Hi Brian and list, The new release of python-markdown has switched docs building from its own custom build system to mkdocs. However python-mkdocs itself build-depends on python3-markdown for tests, which results in a circular build-dependency. Will it be fine if I just mark the build-dependency

Re: python-mkdocs new dependancy

2016-05-10 Thread Brian May
Piotr Ożarowski writes: > dh_python* is checking usr/share/mkdocs-bootstrap by default (among > other dirs). If you want it to check usr/share/mkdocs as well, you have > to point it to, f.e. like this: > > override_dh_python3: > dh_python3 -N mkdocs-bootstrap >

Re: python-mkdocs new dependancy

2016-05-10 Thread Piotr Ożarowski
[Brian May, 2016-05-10] > Brian May writes: > > >> export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/mkdocs/themes/ > > > > Was hoping to avoid the need to add /usr/share/mkdocs/themes to the > > sys.path. > > This results in the following lintian war

Re: python-mkdocs new dependancy

2016-05-09 Thread Brian May
Brian May writes: >> export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/mkdocs/themes/ > > Was hoping to avoid the need to add /usr/share/mkdocs/themes to the > sys.path. This results in the following lintian warning: E: mkdocs-bootstrap: package-installs-python-pycache

Re: python-mkdocs new dependancy

2016-05-05 Thread Brian May
Piotr Ożarowski writes: > * please use --install-lib instead of moving files after dh_python3. > Moving files once dh_python{2,3} creates hooks to bytecompile py files > is not really a good idea. > > export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/mkdocs/themes/ Was

Re: python-mkdocs new dependancy

2016-05-05 Thread Piotr Ożarowski
. > > > > And then patch mkdocs to add /usr/share/mkdocs/themes to sys.path like > > Piotr suggested. > > I have a test version of the packages available: > > https://linuxpenguins.xyz/debian/pool/main/m/mkdocs-bootstrap/ * please use --install-lib instead of moving

Re: python-mkdocs new dependancy

2016-05-01 Thread Brian May
Dmitry Shachnev writes: > Your plan LGTM, though I would still use setup.py to install the themes > (with passing appropriate --install-lib), to make sure that the egg-info > directory (with entry points declarations) is still installed. > > And then patch mkdocs to add /usr/shar

Re: Bug#823052: ITP: python-mkdocs-bootswatch -- Bootswatch themes for MkDocs

2016-05-01 Thread Piotr Ożarowski
[Brian May, 2016-05-01] > > please don't use python- prefix, use mkdocs-bootswatch. Note that binary > > package is "mkdocs" > > Ok, so I just call both source *and* binary packages mkdocs-bootswatch > and mkdocs-bootstrap then? yes please > mkdocs was re

Re: Bug#823052: ITP: python-mkdocs-bootswatch -- Bootswatch themes for MkDocs

2016-05-01 Thread Brian May
> please don't use python- prefix, use mkdocs-bootswatch. Note that binary > package is "mkdocs" Ok, so I just call both source *and* binary packages mkdocs-bootswatch and mkdocs-bootstrap then? >> I plan to maintain this as part of the DPMT - Debian Python Modules &

Re: Bug#823052: ITP: python-mkdocs-bootswatch -- Bootswatch themes for MkDocs

2016-04-30 Thread Piotr Ożarowski
[Brian May, 2016-04-30] > This is a requirement for python-mkdocs. > > Not sure if this prefix of python- is appropriate or not because this > package doesn't contain any python, however it is part mkdocs, and the > source of mkdocs which has been named python-mkdocs in Debia

Bug#823053: ITP: python-mkdocs-bootstrap -- Bootstrap theme for MkDocs

2016-04-30 Thread Brian May
Package: wnpp Severity: wishlist Owner: Brian May * Package name: python-mkdocs-bootstrap Version : 0.1.1 Upstream Author : Dougal Matthews * URL : https://pypi.python.org/pypi/mkdocs-bootstrap/ * License : BSD Programming Lang: HTML/CSS Description

Bug#823052: ITP: python-mkdocs-bootswatch -- Bootswatch themes for MkDocs

2016-04-30 Thread Brian May
Package: wnpp Severity: wishlist Owner: Brian May * Package name: python-mkdocs-bootswatch Version : 0.4.0 Upstream Author : Dougal Matthews * URL : https://pypi.python.org/pypi/mkdocs-bootswatch/ * License : BSD Programming Lang: HTML/CSS Description

Re: python-mkdocs new dependancy

2016-04-24 Thread Dmitry Shachnev
Hi Brian, On Sat, Apr 23, 2016 at 06:16:19PM +1000, Brian May wrote: > So I think it is probably a good idea to have three seperate Debian > source packages and three seperate binary packages. > > It looks like both mkdocs-bootswatch and mkdocs-bootstrap contain > non-Python code.

Re: python-mkdocs new dependancy

2016-04-23 Thread Brian May
Piotr Ożarowski writes: > [Brian May, 2016-04-18] >> Sorry, I don't quite understand. How will this help with the fact that >> mkdocs-bootswatch is listed as a requirement, but we don't have >> mkdocs-bootswatch in Debian? > > FTR: using not packaged version

Re: python-mkdocs new dependancy

2016-04-18 Thread Piotr Ożarowski
[Brian May, 2016-04-18] > Sorry, I don't quite understand. How will this help with the fact that > mkdocs-bootswatch is listed as a requirement, but we don't have > mkdocs-bootswatch in Debian? FTR: using not packaged version of mkdocs-bootswatch is not an option, but that's obvious, right?

Re: python-mkdocs new dependancy

2016-04-18 Thread Piotr Ożarowski
[Brian May, 2016-04-18] > >> What is the appropriate fix? Should I create a new mkdocs-bootswatch > > > > I moved all themes to /usr/share in python-pastescript and it works > > Sorry, I don't quite understand. How will this help with the fact that > mkdocs-bo

Re: python-mkdocs new dependancy

2016-04-17 Thread Brian May
Piotr Ożarowski writes: >> What is the appropriate fix? Should I create a new mkdocs-bootswatch > > I moved all themes to /usr/share in python-pastescript and it works Sorry, I don't quite understand. How will this help with the fact that mkdocs-bootswatch is listed as a re

Re: python-mkdocs new dependancy

2016-04-12 Thread Piotr Ożarowski
[Brian May, 2016-04-12] > When building python-mkdocs from git source I get this error: > > LANG=C.UTF-8 PYTHONPATH=. ./debian/scripts/mkdocs build > Traceback (most recent call last): > File "./debian/scripts/mkdocs", line 7, in > from mkdocs.__main__ imp

Re: mkdocs locale error building djangorestframework

2016-01-28 Thread Julien Cristau
On Mon, Jan 25, 2016 at 23:13:49 -0500, Barry Warsaw wrote: > On Jan 26, 2016, at 01:12 AM, Ben Hutchings wrote: > > >That's not the problem at all.  Read the error message again.  Read the > >source line it points to.  Now look at where rv comes from: > > > import subprocess > rv = sub

Re: mkdocs locale error building djangorestframework

2016-01-26 Thread Alexandre Viau
On Mon, Jan 25, 2016 at 8:12 PM, Ben Hutchings wrote: > On Tue, 2016-01-26 at 11:49 +1100, Brian May wrote: import subprocess rv = subprocess.Popen(['locale', '-a'], stdout=subprocess.PIPE, > ... stderr=subprocess.PIPE).communicate()[0] type(rv) > > > This is

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Barry Warsaw
On Jan 26, 2016, at 01:12 AM, Ben Hutchings wrote: >That's not the problem at all.  Read the error message again.  Read the >source line it points to.  Now look at where rv comes from: > import subprocess rv = subprocess.Popen(['locale', '-a'], stdout=subprocess.PIPE, >... 

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Michael Tautschnig
On Tue, Jan 26, 2016 at 1:23:19 +, Ben Hutchings wrote: > On Tue, 2016-01-26 at 12:16 +1100, Brian May wrote: > > Ben Hutchings writes: > > > > > That's not the problem at all.  Read the error message again.  Read the > > > source line it points to.  Now look at where rv comes from: > > > >

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Brian May
Ben Hutchings writes: > Oh, well that's probably because you only set LANG and it's being > overridden by LC_ALL.  Use a bigger hammer: set LC_ALL yourself. Yes, somebody mentioned this on the BTS also. I very much suspect this will be the solution. Thanks -- Brian May

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Ben Hutchings
On Tue, 2016-01-26 at 12:16 +1100, Brian May wrote: > Ben Hutchings writes: > > > That's not the problem at all.  Read the error message again.  Read the > > source line it points to.  Now look at where rv comes from: > > Yes, that is how it would appear. > > However, all this code does is try

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Brian May
Ben Hutchings writes: > That's not the problem at all.  Read the error message again.  Read the > source line it points to.  Now look at where rv comes from: Yes, that is how it would appear. However, all this code does is try to work out the appropriate fatal error message that should get disp

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Ben Hutchings
On Tue, 2016-01-26 at 11:49 +1100, Brian May wrote: > Ben Hutchings writes: > > > C.UTF-8 is built into glibc so I believe you can assume it's present in > > all Debian installations (from wheezy onward). > > Ok, this is getting more and more complicated. The only reason I can see > for the FTBF

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Brian May
Ben Hutchings writes: > C.UTF-8 is built into glibc so I believe you can assume it's present in > all Debian installations (from wheezy onward). Ok, this is getting more and more complicated. The only reason I can see for the FTBFS in #812672 is because the C.UTF-8 locale doesn't exist. It shoul

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Ben Hutchings
On Tue, 2016-01-26 at 11:29 +1100, Brian May wrote: [...] > The problem is that when building djangorestframework, I need to have a > utf8 locale available. C.UTF-8 is fine. However, I don't think there is > any guarantee (??) that a utf8 locale will be available when building > packages. This I be

Re: Bug#778269: ITP: python-mkdocs -- Static site generator geared towards building project documentation

2015-02-15 Thread Brian May
On 14 February 2015 at 09:52, Brian May wrote: > What should I call the package? mkdocs? Or python3-mkdocs? > Thinking about this, I will call the source python-mkdocs, but the binary package just mkdocs. As I think the names python-mkdocs and python3-mkdocs imply some sort of publ

Re: Bug#778269: ITP: python-mkdocs -- Static site generator geared towards building project documentation

2015-02-13 Thread Brian May
epends, what fun :-) > Looks like upstream really does not provide any stable Python API, > so I think there is no need to build public module packages. > What should I call the package? mkdocs? Or python3-mkdocs? > But you will make me a bit happier if you make the executable use

Re: Bug#778269: ITP: python-mkdocs -- Static site generator geared towards building project documentation

2015-02-13 Thread Dmitry Shachnev
Hi Brian, On Fri, 13 Feb 2015 10:06:25 +1100, Brian May wrote: > MkDocs is a fast, simple and downright gorgeous static site generator > that's geared towards building project documentation. Documentation > source files are written in Markdown, and configured with a single YAML &

Bug#778269: ITP: python-mkdocs -- Static site generator geared towards building project documentation

2015-02-12 Thread Brian May
Package: wnpp Severity: wishlist Owner: Brian May * Package name: python-mkdocs Version : 0.11.1 Upstream Author : Tom Christie * URL : http://www.mkdocs.org/ * License : BSD Programming Lang: Python Description : Static site generator geared towards