Debian Codegraph @

debian/README.source

raw
1 This package is maintained with git-buildpackage(1). It follows DEP-14 for
2 branch naming (e.g. using debian/master for the current version in Debian
3 unstable due Debian Python team policy).
4
5 It uses pristine-tar(1) to store enough information in git to generate bit
6 identical tarballs when building the package without having downloaded an
7 upstream tarball first.
8
9 When working with patches it is recommended to use "gbp pq import" to import
10 the patches, modify the source and then use "gbp pq export --commit" to commit
11 the modifications.
12
13 The changelog is generated using "gbp dch" so if you submit any changes don't
14 bother to add changelog entries but rather provide a nice git commit message
15 that can then end up in the changelog.
16
17 It is recommended to build the package with pbuilder using:
18
19 gbp buildpackage --git-pbuilder
20
21 For information on how to set up a pbuilder environment see the git-pbuilder(1)
22 manpage. In short:
23
24 DIST=sid git-pbuilder create
25 gbp clone https://salsa.debian.org/python-team/packages/flask-security.git
26 cd flask-security
27 gbp buildpackage --git-pbuilder
28
29
30 Issue within the -doc package
31 =============================
32
33 The package python-flask-security-doc is shipping a file _static/openapi_view.html
34 in /usr/share/doc/python-flask-security-doc/html/.
35 This HTML file is loading a file 'openapi.yaml', but this is failing in the -doc
36 package due CORS (Cross-Origin-Resource-Sharing) restrictions.
37
38 For the etchnical background:
39 https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
40
41 We have no option to prevent user from seeing this CORS error message. User
42 should navigate to the upstream resource of the documentation instead, as here
43 the data is provided by a webserver which is allowing to access files which are
44 available under the same domain the full data of this file is visible.
45
46 https://flask-security.readthedocs.io/en/stable/_static/openapi_view.html
47
48 We could and should of course provide a message by the HTML file to make it
49 easier for users to access the upstream data.
50
51 -- Carsten Schoenert <[email protected]> Tue, 24 Sep 2024 20:05:00 +0200