Skip to content

Commit

Permalink
Add CERTBOT_PLUGIN_PATH support
Browse files Browse the repository at this point in the history
Initial revision

Fix interface export path

Switch to strict confinement

Normalise slot parameters
  • Loading branch information
basak authored and ohemorange committed Jun 18, 2020
1 parent bcb3554 commit 4a2618d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions certbot-dns-dnsimple/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: certbot-dns-dnsimple
version: script
version-script: cd parts/certbot-dns-dnsimple/src && git describe|sed s/^v//
summary: DNSimple DNS Authenticator plugin for Certbot
description: TBC
confinement: strict
grade: devel

parts:
certbot-dns-dnsimple:
plugin: python
source: git://github.com/certbot/certbot
source-branch: master
source-subdir: certbot-dns-dnsimple
python-version: python3

slots:
certbot:
interface: content
content: certbot-1
read:
- $SNAP/lib/python3.5/site-packages
2 changes: 2 additions & 0 deletions certbot/certbot/_internal/plugins/disco.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import collections
import itertools
import logging
import os
import sys

import pkg_resources
import six
Expand Down

0 comments on commit 4a2618d

Please sign in to comment.