Compare commits

...

3 Commits

Author SHA1 Message Date
James Valleroy
fceb6967e6
Release v26.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2026-01-05 20:24:20 -05:00
Joseph Nuthalapati
88de2a9b50
container: Add aliases for start/stop commands
Add up/down commands as aliases for start/stop commands.

'stop' is not the opposite of 'up', so it can be confusing to new users
of the script.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-01-05 08:39:21 -05:00
Pierfrancesco Passerini
710b180ca1
Translated using Weblate (Italian)
Currently translated at 59.4% (1118 of 1880 strings)
2026-01-02 17:01:48 +01:00
4 changed files with 66 additions and 10 deletions

View File

@ -474,9 +474,10 @@ def parse_arguments() -> argparse.Namespace:
help='Type of the machine, container to virtual machine, to run '
'operation on')
# Up
subparser = subparsers.add_parser('up', help='Bring up the container',
formatter_class=formatter_class)
# Start
subparser = subparsers.add_parser('start', help='Bring up the container',
formatter_class=formatter_class,
aliases=['up'])
_add_common_args(subparser)
subparser.add_argument('--image-size', default='16G',
help='Disk image size to resize to after download')
@ -505,7 +506,8 @@ def parse_arguments() -> argparse.Namespace:
# Stop
subparser = subparsers.add_parser('stop', help='Stop the container',
formatter_class=formatter_class)
formatter_class=formatter_class,
aliases=['down'])
_add_common_args(subparser)
# Destroy
@ -1459,7 +1461,7 @@ class VM(Machine):
qcow_image.unlink(missing_ok=True)
def subcommand_up(arguments: argparse.Namespace):
def subcommand_start(arguments: argparse.Namespace):
"""Download, setup and bring up the container."""
machine = Machine.get_instance(arguments.machine_type,
arguments.distribution)
@ -1563,7 +1565,13 @@ def main():
logging.basicConfig(level='INFO', format='> %(message)s')
arguments = parse_arguments()
subcommand = arguments.subcommand.replace('-', '_')
aliases = {
'up': 'start',
'down': 'stop',
}
subcommand: str = arguments.subcommand.replace('-', '_')
subcommand = aliases.get(subcommand, subcommand)
subcommand_method = globals()['subcommand_' + subcommand]
subcommand_method(arguments)

47
debian/changelog vendored
View File

@ -1,3 +1,50 @@
freedombox (26.1) unstable; urgency=medium
[ Besnik Bleta ]
* Translated using Weblate (Albanian)
[ 109247019824 ]
* Translated using Weblate (Bulgarian)
[ Максим Горпиніч ]
* Translated using Weblate (Ukrainian)
[ Burak Yavuz ]
* Translated using Weblate (Turkish)
[ Priit Jõerüüt ]
* Translated using Weblate (Estonian)
[ Jiří Podhorecký ]
* Translated using Weblate (Czech)
[ OwlGale ]
* Translated using Weblate (Russian)
[ Roman Akimov ]
* Translated using Weblate (Russian)
[ Dietmar ]
* Translated using Weblate (German)
* Translated using Weblate (Italian)
[ Coucouf ]
* Translated using Weblate (French)
[ Ettore Atalan ]
* Translated using Weblate (German)
[ 大王叫我来巡山 ]
* Translated using Weblate (Chinese (Simplified Han script))
[ Pierfrancesco Passerini ]
* Translated using Weblate (Italian)
[ Joseph Nuthalapati ]
* container: Add aliases for start/stop commands
-- James Valleroy <jvalleroy@mailbox.org> Mon, 05 Jan 2026 20:09:02 -0500
freedombox (25.17.1) unstable; urgency=medium
[ James Valleroy ]

View File

@ -3,4 +3,4 @@
Package init file.
"""
__version__ = '25.17.1'
__version__ = '26.1'

View File

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-16 01:18+0000\n"
"PO-Revision-Date: 2025-12-26 15:00+0000\n"
"PO-Revision-Date: 2026-01-02 16:01+0000\n"
"Last-Translator: Pierfrancesco Passerini <p.passerini@gmail.com>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/freedombox/"
"freedombox/it/>\n"
@ -203,11 +203,12 @@ msgstr "Dominio rete locale"
#: plinth/modules/avahi/manifest.py:14
msgid "Auto-discovery"
msgstr ""
msgstr "Rilevamento automatico"
#: plinth/modules/avahi/manifest.py:14 plinth/modules/backups/manifest.py:17
#, fuzzy
msgid "Local"
msgstr ""
msgstr "Locale"
#: plinth/modules/avahi/manifest.py:14
msgid "mDNS"