Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
uaclient /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-07-09 11:30
clouds
[ DIR ]
drwxr-xr-x
2022-07-09 11:30
entitlements
[ DIR ]
drwxr-xr-x
2022-07-09 11:30
jobs
[ DIR ]
drwxr-xr-x
2022-07-09 11:30
__init__.py
0
B
-rw-r--r--
2020-10-15 16:52
actions.py
3.48
KB
-rw-r--r--
2022-05-18 21:44
apt.py
18.11
KB
-rw-r--r--
2022-05-18 21:44
cli.py
62.34
KB
-rw-r--r--
2022-05-18 21:44
config.py
31.85
KB
-rw-r--r--
2022-05-18 21:44
contract.py
21.14
KB
-rw-r--r--
2022-05-18 21:44
daemon.py
3.93
KB
-rw-r--r--
2022-05-18 21:44
data_types.py
5.91
KB
-rw-r--r--
2022-05-18 21:44
defaults.py
1.58
KB
-rw-r--r--
2022-05-18 21:44
event_logger.py
7.9
KB
-rw-r--r--
2022-05-18 21:44
exceptions.py
11.41
KB
-rw-r--r--
2022-05-18 21:44
gpg.py
813
B
-rw-r--r--
2021-04-29 18:29
lock.py
3.51
KB
-rw-r--r--
2022-04-01 15:27
messages.py
24.9
KB
-rw-r--r--
2022-05-18 21:44
pip.py
756
B
-rw-r--r--
2022-04-01 15:27
security.py
43
KB
-rw-r--r--
2022-05-18 21:44
security_status.py
6.69
KB
-rw-r--r--
2022-05-18 21:44
serviceclient.py
5.8
KB
-rw-r--r--
2022-05-18 21:44
snap.py
2.92
KB
-rw-r--r--
2022-04-01 15:27
status.py
22.92
KB
-rw-r--r--
2022-05-18 21:44
types.py
308
B
-rw-r--r--
2022-04-01 15:27
util.py
32.71
KB
-rw-r--r--
2022-05-18 21:44
version.py
1.94
KB
-rw-r--r--
2022-06-20 16:29
Save
Rename
""" Version determination functions These are in their own file so they can be imported by setup.py before we have any of our dependencies installed. """ import os.path from uaclient import exceptions, util __VERSION__ = "27.9" PACKAGED_VERSION = "27.9~16.04.1" VERSION_TMPL = "{version}{feature_suffix}" def get_version(_args=None, features={}): """Return the packaged version as a string Prefer the binary PACKAGED_VESION set by debian/rules to DEB_VERSION. If unavailable, check for a .git development environments: a. If run in our upstream repo `git describe` will gives a leading XX.Y so return the --long version to allow daily build recipes to count commit offset from upstream's XX.Y signed tag. b. If run in a git-ubuntu pkg repo, upstream tags aren't visible, parse the debian/changelog in that case """ feature_suffix = "" for key, value in sorted(features.items()): feature_suffix += " {enabled}{name}".format( enabled="+" if value else "-", name=key ) if not PACKAGED_VERSION.startswith("@@PACKAGED_VERSION"): return VERSION_TMPL.format( version=PACKAGED_VERSION, feature_suffix=feature_suffix ) topdir = os.path.dirname(os.path.dirname(__file__)) if os.path.exists(os.path.join(topdir, ".git")): cmd = ["git", "describe", "--abbrev=8", "--match=[0-9]*", "--long"] try: out, _ = util.subp(cmd) return out.strip() + feature_suffix except exceptions.ProcessExecutionError: # Rely on debian/changelog because we are in a git-ubuntu or other # packaging repo cmd = ["dpkg-parsechangelog", "-S", "version"] out, _ = util.subp(cmd) return VERSION_TMPL.format( version=out.strip(), feature_suffix=feature_suffix ) return VERSION_TMPL.format( version=__VERSION__, feature_suffix=feature_suffix )