$77 GRAYBYTE WORDPRESS FILE MANAGER $62

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/usr/lib/python3.6/site-packages/dnf-plugins/

HOME
Current File : /usr/lib/python3.6/site-packages/dnf-plugins//etckeeper.py
# etckeeper.py, support etckeeper for dnf
#
# Copyright (C) 2014 Peter Listiak
# https://github.com/plistiak/dnf-etckeeper
#
# Later modifications by Petr Spacek:
# Distutils code below was copied from etckeeper-bzr distributed with v1.15
#

import logging
import subprocess
import dnf

logger = logging.getLogger('dnf.plugin')


class Etckeeper(dnf.Plugin):

    name = 'etckeeper'

    def _run_command(self, command):
        logger.debug('Etckeeper plugin: %s', command)
        try:
            with open("/dev/null", "wb") as devnull:
                ret = subprocess.call(("etckeeper", command),
                                      stdout=devnull, stderr=devnull,
                                      close_fds=True)
                if ret != 0:
                    raise dnf.exceptions.Error('"etckeeper %s" returned: %d' % (command, ret))
        except OSError as err:
            logger.warning('Failed to run "etckeeper %s": %s' % (command, err))

    def resolved(self):
        self._run_command("pre-install")

    def transaction(self):
        self._run_command("post-install")

if __name__ == "__main__":
    from distutils.core import setup
    setup(name="dnf-etckeeper",
          packages=["dnf-plugins"],
          package_dir={"dnf-plugins":"etckeeper-dnf"})


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
2 Apr 2026 3.01 PM
root / root
0755
__pycache__
--
24 Jul 2025 8.30 AM
root / root
0755
builddep.py
9.127 KB
8 Apr 2024 10.02 AM
root / root
0644
changelog.py
4.851 KB
12 Apr 2021 3.30 PM
root / root
0644
config_manager.py
10.63 KB
12 Apr 2021 3.30 PM
root / root
0644
copr.py
29.588 KB
8 Apr 2024 10.02 AM
root / root
0644
debug.py
12.271 KB
12 Apr 2021 3.30 PM
root / root
0644
debuginfo-install.py
10.824 KB
12 Apr 2021 3.30 PM
root / root
0644
download.py
12.041 KB
12 Apr 2021 3.30 PM
root / root
0644
etckeeper.py
1.256 KB
15 Jul 2025 11.26 AM
root / root
0644
generate_completion_cache.py
3.855 KB
12 Apr 2021 3.30 PM
root / root
0644
groups_manager.py
13.215 KB
8 Apr 2024 10.02 AM
root / root
0644
needs_restarting.py
11.594 KB
8 Apr 2024 10.02 AM
root / root
0644
repoclosure.py
6.651 KB
12 Apr 2021 3.30 PM
root / root
0644
repodiff.py
11.206 KB
12 Apr 2021 3.30 PM
root / root
0644
repograph.py
3.996 KB
12 Apr 2021 3.30 PM
root / root
0644
repomanage.py
10.322 KB
8 Apr 2024 10.02 AM
root / root
0644
reposync.py
14.305 KB
8 Apr 2024 10.02 AM
root / root
0644
spacewalk.py
13.876 KB
26 Feb 2025 9.26 AM
root / root
0644
system_upgrade.py
26.165 KB
8 Apr 2024 10.02 AM
root / root
0644
universal_hooks.py
5.78 KB
11 Oct 2020 11.57 PM
root / root
0755
versionlock.py
12.028 KB
8 Apr 2024 10.02 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF