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 /
pbr /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2018-02-22 00:25
cmd
[ DIR ]
drwxr-xr-x
2018-02-22 00:25
hooks
[ DIR ]
drwxr-xr-x
2018-02-22 00:25
__init__.py
0
B
-rw-r--r--
2015-09-14 10:26
builddoc.py
8.87
KB
-rw-r--r--
2015-09-14 10:26
core.py
6.09
KB
-rw-r--r--
2015-09-14 10:26
extra_files.py
1.07
KB
-rw-r--r--
2015-09-14 10:26
find_package.py
1.02
KB
-rw-r--r--
2015-09-14 10:26
git.py
9.68
KB
-rw-r--r--
2015-09-14 10:26
options.py
2.32
KB
-rw-r--r--
2015-09-14 10:26
packaging.py
22.45
KB
-rw-r--r--
2015-09-14 10:26
pbr_json.py
1.16
KB
-rw-r--r--
2015-09-14 10:26
testr_command.py
5.32
KB
-rw-r--r--
2015-09-14 10:26
util.py
24.29
KB
-rw-r--r--
2015-09-14 10:26
version.py
18.13
KB
-rw-r--r--
2015-09-14 10:26
Save
Rename
# Copyright 2011 OpenStack LLC. # Copyright 2012-2013 Hewlett-Packard Development Company, L.P. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. import json from pbr import git def write_pbr_json(cmd, basename, filename): if not cmd.distribution.pbr: return git_dir = git._run_git_functions() if not git_dir: return values = dict() git_version = git.get_git_short_sha(git_dir) is_release = git.get_is_release(git_dir) if git_version is not None: values['git_version'] = git_version values['is_release'] = is_release cmd.write_file('pbr', filename, json.dumps(values))