Commit graph

9907 commits

Author SHA1 Message Date
Erica Portnoy
223ae53ad9 Merge branch 'master' into plugin-stability 2020-07-21 17:55:19 -07:00
Erica Portnoy
253d8d27de Check that refresh is allowed in integration test 2020-07-21 16:55:26 -07:00
Erica Portnoy
7a59f9077b Add packaging to install_requires 2020-07-21 16:50:41 -07:00
Erica Portnoy
dc38212e57 bin/sh comes first 2020-07-21 15:18:55 -07:00
Erica Portnoy
6b270e653b update snapcraft.yaml files for plugins 2020-07-21 15:08:32 -07:00
Erica Portnoy
6e9162c626 generate files using new script 2020-07-21 15:08:15 -07:00
Erica Portnoy
37fb365cfe Create post-refresh hook for all plugins with script 2020-07-21 15:05:48 -07:00
Erica Portnoy
be6505090f Add comment to generation file saying not to edit generated files manually 2020-07-21 15:05:30 -07:00
Erica Portnoy
fe838bbdac add plugin snap changes to generate script 2020-07-21 15:00:23 -07:00
Erica Portnoy
0db2e17daf import from setuptools._vendor 2020-07-21 14:36:46 -07:00
Erica Portnoy
63db51a7ee switch to requiring certbot version >= plugin version 2020-07-21 14:13:14 -07:00
Erica Portnoy
e3f12df03b switch to using packaging.version.parse instead of LooseVersion 2020-07-21 14:09:04 -07:00
Adrien Ferrand
270b5535e2
Add warnings about Python 3.5 deprecation in Certbot (#8154)
Fixes #8149

This PR adds warnings to warn about the incoming deprecation of Python 3.5 in Certbot.

* Add warnings about Python 3.5 deprecation in Certbot

* Update certbot/certbot/__init__.py

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2020-07-20 17:46:38 -07:00
Adrien Ferrand
74b0340a13
Use a specific tag of adferrand/snapcraft to build QEMU snaps and avoid failures (#8158)
The latest builds of snapcraft introduced somehow several failures when snaps are built on QEMU for armhf. See https://dev.azure.com/certbot/certbot/_build/results?buildId=2326&view=logs&j=7c548e18-6053-5a42-b366-e6480da09a69&t=a7c7ca26-ae0c-54e6-0355-3bfcd7bab03c for instance.

This PR uses a specific tags from `adferrand/snapcraft`, extracted from the last known working `nightly` pipeline, to avoid these failures until a more permanent fix is done. Very likely the fix will be the move to snapcraft remote builds.

* Use a specific tag of adferrand/snapcraft to build snaps and avoid an error on QEMU for armhf.

* Update tools/snap/build.sh

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>

* Update tools/snap/build_dns.sh

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2020-07-20 17:17:10 -07:00
Adrien Ferrand
b13dfc6437
Do not create the symlink for test assets on Windows if the asset path is already a symlink (#8159) 2020-07-21 01:01:09 +02:00
schoen
c5bab9b07c
Merge pull request #8157 from stefantalpalaru/linodedns
certbot_dns_linode: decrease the default propagation interval
2020-07-20 13:22:18 -07:00
Ștefan Talpalaru
b6964cae2e
certbot_dns_linode: decrease the default propagation interval
«When you add or change DNS zones or records, your changes will now be
reflected at our authoritative nameservers in under 60 seconds. This is
down from the previous “every quarter hour” approach that we had for so
long.» - https://www.linode.com/blog/linode/linode-turns-17/
2020-07-19 16:44:37 +02:00
Brad Warren
ebf1349b15
Update to IPython with Python 3.8 support. (#8152) 2020-07-17 13:01:04 -07:00
Brad Warren
9d2e0ac013
Specify the Certbot snap grade. (#8147) 2020-07-17 12:47:11 -07:00
Erica Portnoy
bbda2016ed use the correct filename 2020-07-16 15:06:08 -07:00
Erica Portnoy
fbd578f230 change presence test to new file 2020-07-16 14:58:14 -07:00
Erica Portnoy
4cbdfbad6f find and save certbot version on the certbot side 2020-07-16 14:44:32 -07:00
Erica Portnoy
1825833325 use sys.exit instead of exit 2020-07-16 14:31:37 -07:00
Erica Portnoy
4a3f306259 s/certbot-version/certbot-metadata/g 2020-07-16 14:29:05 -07:00
Thomas
05dbda4b51
added inwx plugin (#8115)
* added inwx plugin

* Update using.rst

fixed convention naming
2020-07-15 13:41:15 -07:00
Erica Portnoy
067ea6b88e Remove unnecessary yaml 2020-07-14 18:50:01 -07:00
Erica Portnoy
6871378f93 consolidate parts and remove more test code 2020-07-14 18:38:09 -07:00
Erica Portnoy
d4412c45c8 remove spaces for clarity 2020-07-14 18:35:58 -07:00
Erica Portnoy
3635527ea3 Remove debug script 2020-07-14 18:35:26 -07:00
Erica Portnoy
632574c607 Merge branch 'master' into plugin-stability 2020-07-14 18:34:04 -07:00
Erica Portnoy
137b5f0e01 remove some debugging code 2020-07-14 18:33:31 -07:00
Erica Portnoy
2bbbc78e8b improve bash syntax 2020-07-14 18:29:33 -07:00
Erica Portnoy
4f02b366f0 we need different prints for if we succeed or if we fail. 2020-07-14 18:10:38 -07:00
Erica Portnoy
324c4539cd it's python3 2020-07-14 17:59:23 -07:00
Erica Portnoy
1270b937c3 try comparing version numbers in python 2020-07-14 17:57:10 -07:00
Erica Portnoy
f5bb7fa34a update mkdir so we don't have to clean each time 2020-07-13 19:32:19 -07:00
Erica Portnoy
3d0935e395 pre-refresh hook is not necessary to get certbot version 2020-07-13 19:29:42 -07:00
Erica Portnoy
4cc0390b38 check if certbot version will be available post-refresh after all 2020-07-13 19:26:43 -07:00
Erica Portnoy
6bde33f707 remove unnecessary extra check, just check if the init file is available 2020-07-13 19:20:34 -07:00
Erica Portnoy
04238e050b why does echo need two >s 2020-07-13 19:11:29 -07:00
Erica Portnoy
2351260d1d ok NOW all print statements are going to the log 2020-07-13 19:04:06 -07:00
Erica Portnoy
3f5c473a6a echo to the debug log 2020-07-13 19:01:53 -07:00
Erica Portnoy
a028685792 more printing 2020-07-13 18:58:27 -07:00
Erica Portnoy
0df7d579fb update grep for new file 2020-07-13 18:52:57 -07:00
Erica Portnoy
40ebff2c64 echo to debug log to understand what's going on exactly. we have file access though! 2020-07-13 18:49:59 -07:00
Erica Portnoy
f83237e629 update name of folder 2020-07-13 18:39:56 -07:00
Erica Portnoy
429bf84746 perhaps only directories can be shared via the contente interface 2020-07-13 18:37:52 -07:00
Erica Portnoy
79cdd47bf2 it can't run bash directly. 2020-07-13 18:14:00 -07:00
Erica Portnoy
2c6eb76009 let's inspect the environment 2020-07-13 18:08:03 -07:00
Erica Portnoy
3d00c8c045 put mkdir in the correct part 2020-07-13 18:01:06 -07:00