Skip to content

Commit

Permalink
chore: rename yml to toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Louis Fuchs committed Mar 5, 2024
1 parent c0e7f42 commit bbf507b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pyaptly
=======

Automates the creation and managment of aptly mirrors and snapshots based on yml
Automates the creation and managment of aptly mirrors and snapshots based on toml
input files.

|pypi| |travis| |coverage| [1]_
Expand Down
6 changes: 3 additions & 3 deletions pyaptly/mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def add_gpg_keys(mirror_config):
"""Use the gpg to download and add gpg keys needed to create mirrors.
:param mirror_config: The configuration yml as dict
:param mirror_config: The configuration toml as dict
:type mirror_config: dict
"""
keyserver = mirror_config.get("keyserver")
Expand Down Expand Up @@ -94,11 +94,11 @@ def mirror(cfg, args):
def cmd_mirror_create(cfg, mirror_name, mirror_config):
"""Create a mirror create command to be ordered and executed later.
:param cfg: The configuration yml as dict
:param cfg: The configuration toml as dict
:type cfg: dict
:param mirror_name: Name of the mirror to create
:type mirror_name: str
:param mirror_config: Configuration of the snapshot from the yml file.
:param mirror_config: Configuration of the snapshot from the toml file.
:type mirror_config: dict
"""
if mirror_name in state_reader.state.mirrors: # pragma: no cover
Expand Down
2 changes: 1 addition & 1 deletion pyaptly/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def publish(cfg, args):
"""Create publish commands, orders and executes them.
:param cfg: The configuration yml as dict
:param cfg: The configuration toml as dict
:type cfg: dict
:param args: The command-line arguments read with :py:mod:`argparse`
:type args: namespace
Expand Down
2 changes: 1 addition & 1 deletion pyaptly/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
def snapshot(cfg, args):
"""Create snapshot commands, orders and executes them.
:param cfg: The configuration yml as dict
:param cfg: The configuration toml as dict
:type cfg: dict
:param args: The command-line arguments read with :py:mod:`argparse`
:type args: namespace
Expand Down

0 comments on commit bbf507b

Please sign in to comment.