Skip to content

Commit

Permalink
Prepare for 0.6.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Parag Nemade <[email protected]>
  • Loading branch information
pnemade committed Jul 1, 2022
1 parent 36a79ee commit 1b69109
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 20 deletions.
11 changes: 10 additions & 1 deletion Changlog.rst → Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
Changelog
=========

0.5.0 (2020-07-12)
0.6.0 (2022-07-01)
-----------------
- transtats add --package cmd (sdp5)
- Implement add package command (sdp5)
- Extract package commands to a new group for adding new packages
and showing stats, health etc. (sdp5)
- Update unit tests (sdp5)
- Update man page (pnemade)

0.5.0 (2021-07-12)
-----------------
- Update textoutput.py (sundeep-co-in)
- Add new options repo-type and repo-branch to job run command (sundeep-co-in)
Expand Down
28 changes: 17 additions & 11 deletions docs/man/transtats.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" transtats - Command line interface for transtats
.TH "TRANSTATS" "1" "12th July 2021" "transtats 0.5.0" "User Commands"
.TH "TRANSTATS" "1" "1st July 2022" "transtats 0.6.0" "User Commands"
.SH "NAME"
transtats \- Command line interface for transtats
.SH "SYNOPSIS"
Expand Down Expand Up @@ -30,8 +30,8 @@ Show this message and exit.
Available repo-types are default, l10n, transifex, weblate

.br
.I \fB * package [OPTIONS] PACKAGE_NAME
Translation status of a package.
.I \fB * package [OPTIONS] COMMAND [ARGS]... PACKAGE_NAME
Package related operations.

.br
.I \fB * version [OPTIONS]
Expand All @@ -48,24 +48,24 @@ Show this message and exit.

.PP
\fBTo check the translation status of any partiular package for all the available release branches on transtats server.\fP
transtats package abrt
transtats package status abrt

.PP
\fBTo check the if package exists on the transtats server.\fP
transtats package --exist abrt
transtats package status --exist abrt

.PP
\fBTo check the translation health of any partiular package for all the available release branches on transtats server.\fP
transtats package --health abrt
transtats package status --health abrt

.PP
\fBTo check the translation status for available packages in any pre-defined Linux distribution release on transtats server.\fP
transtats release fedora-35
transtats release fedora-37

.PP
\fBTo check the translation status for available packages in any pre-defined Linux distribution release on transtats server.\fP
\fBBut if you need to know this status categorized by individual languages then use --detail\fP
transtats release --detail fedora-35
transtats release --detail fedora-37

.PP
\fBTo know the version of this transtats client.\fP
Expand All @@ -78,10 +78,16 @@ Show this message and exit.
.PP
\fBTo submit a job to transtats server. There are 6 types of job that users can submit.\fP
Various job type command examples are given below
transtats job run --repo-type l10n --repo-branch f35 syncupstream anaconda
transtats job run --repo-type l10n --repo-branch f35 --build-system koji --build-tag f35 syncdownstream anaconda
transtats job run --repo-branch main --release-slug fedora-33 stringchange anaconda
transtats job run --repo-type l10n --repo-branch f37 syncupstream anaconda
transtats job run --repo-type l10n --repo-branch f37 --build-system koji --build-tag f37 syncdownstream anaconda
transtats job run --repo-branch main --release-slug fedora-37 stringchange anaconda

.PP
\fBTo add a package to transtats server.\fP
Various command examples are given below
transtats package add celluloid --upstream-url https://github.com/celluloid-player/celluloid --transplatform-slug WLTEPUB --release-stream Fedora
transtats package add fedora-media-writer --upstream-url https://github.com/FedoraQt/MediaWriter --transplatform-slug WLTEFED --release-stream Fedora

.SH "NOTES"
These commands give output in plain text format. If you need the same output
in json format then just add to every above command --json option.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017 Red Hat, Inc.
# Copyright 2017, 2022 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tscli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017, 2018 Red Hat, Inc.
# Copyright 2017, 2018, 2022 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down
4 changes: 2 additions & 2 deletions tscli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017-2021 Red Hat, Inc.
# Copyright 2017-2022 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand All @@ -22,7 +22,7 @@
from tscli.jobs import commands as jobs
from tscli.packages import commands as pkgs

APP_VERSION = "0.5.0"
APP_VERSION = "0.6.0"


class AppContext(object):
Expand Down
2 changes: 1 addition & 1 deletion tscli/packages/commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 Red Hat, Inc.
# Copyright 2018, 2022 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down
2 changes: 1 addition & 1 deletion tscli/restapi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017-2019 Red Hat, Inc.
# Copyright 2017-2019, 2022 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down
2 changes: 1 addition & 1 deletion tscli/stats/commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017-2019 Red Hat, Inc.
# Copyright 2017-2019, 2022 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down
2 changes: 1 addition & 1 deletion tscli/textoutput.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017-2019 Red Hat, Inc.
# Copyright 2017-2019, 2022 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down

0 comments on commit 1b69109

Please sign in to comment.