yamcs-cli 1.4.11__py3-none-any.whl → 1.4.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,6 +35,17 @@ class ParameterArchiveCommand(utils.Command):
35
35
  subparsers, "purge", "Remove all data from the Parameter Archive"
36
36
  )
37
37
  subparser.set_defaults(func=self.purge)
38
+ subparser = self.create_subparser(
39
+ subparsers, "backfilling", "Manage Parameter Archive backfilling"
40
+ )
41
+ subparser.add_argument(
42
+ "action",
43
+ metavar="ACTION",
44
+ type=str,
45
+ choices=["enable", "disable"],
46
+ help="either enable or disable",
47
+ )
48
+ subparser.set_defaults(func=self.backfilling)
38
49
 
39
50
  def rebuild(self, args):
40
51
  opts = utils.CommandOptions(args)
@@ -57,3 +68,21 @@ class ParameterArchiveCommand(utils.Command):
57
68
  archive.purge_parameter_archive()
58
69
  sys.stderr.write("done\n")
59
70
  sys.stderr.flush()
71
+
72
+ def backfilling(self, args):
73
+ opts = utils.CommandOptions(args)
74
+ client = YamcsClient(**opts.client_kwargs)
75
+ archive = client.get_archive(opts.require_instance())
76
+
77
+ if args.action.lower() == "enable":
78
+ sys.stderr.write("Enabling automatic backfilling... ")
79
+ sys.stderr.flush()
80
+ archive.enable_parameter_archive_backfilling()
81
+ sys.stderr.write("done\n")
82
+ sys.stderr.flush()
83
+ elif args.action.lower() == "disable":
84
+ sys.stderr.write("Disabling automatic backfilling... ")
85
+ sys.stderr.flush()
86
+ archive.disable_parameter_archive_backfilling()
87
+ sys.stderr.write("done\n")
88
+ sys.stderr.flush()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: yamcs-cli
3
- Version: 1.4.11
3
+ Version: 1.4.12
4
4
  Summary: Yamcs Command-Line Tools
5
5
  Home-page: https://github.com/yamcs/yamcs-cli
6
6
  Author: Space Applications Services
@@ -26,9 +26,9 @@ Description-Content-Type: text/markdown
26
26
  License-File: LICENSE
27
27
  Requires-Dist: argcomplete
28
28
  Requires-Dist: python-dateutil
29
- Requires-Dist: yamcs-client (>=1.11.0)
29
+ Requires-Dist: yamcs-client>=1.11.2
30
30
  Provides-Extra: kerberos
31
- Requires-Dist: yamcs-client-kerberos (>=1.3.0) ; extra == 'kerberos'
31
+ Requires-Dist: yamcs-client-kerberos>=1.3.0; extra == "kerberos"
32
32
 
33
33
  # Command-Line Interface
34
34
 
@@ -14,7 +14,7 @@ yamcs/cli/links.py,sha256=RmdeYLqC1agtORso2T8MUcgp3f-zJKIfeb0UsupsXzc,3330
14
14
  yamcs/cli/login.py,sha256=VAIE--YGiCTwf8D79L3dHKKtTlmdSFcgkUcR37CwVzY,4969
15
15
  yamcs/cli/logout.py,sha256=XgIdxuAUHQ5VbPP6sZwN88cAvWQEm7GBPfvYj6vn9Rg,562
16
16
  yamcs/cli/packets.py,sha256=js-meTATi7a7IjVWC9nLiu56KdZNyDjZY9QBlRWfgD0,4645
17
- yamcs/cli/parameter_archive.py,sha256=U9-nY71lVGlBdmN20ltuccGa9U7rB_l6odigXtaMB4k,1881
17
+ yamcs/cli/parameter_archive.py,sha256=rv1Evgi5iBsnE-AgSOtaQsFYiqekQDv1k3fVFiMK1iE,3007
18
18
  yamcs/cli/parameters.py,sha256=ZDOfLly5gzKoUvfvg9vbDLMh_NYnh3mBi95n_sZCjSY,6012
19
19
  yamcs/cli/processors.py,sha256=9BJlQywmq6x_ea3tWT66dB2wBry9divqWhG3VWKM6Nw,1988
20
20
  yamcs/cli/rocksdb.py,sha256=28VjE9ldHUrGCxMeNNOn8FhnvdRJbiMlKjnjErgrl1k,1947
@@ -31,9 +31,9 @@ yamcs/cli/protobuf/replication_pb2.py,sha256=0YzH8bVPi2DNmHcgxyv9m_XuhYnH83U0O6k
31
31
  yamcs/cli/protobuf/security_pb2.py,sha256=SbVHS7ghG_JDbZ_35p8GwVnV-3HuwNOGAWRVhFoWbPE,21569
32
32
  yamcs/cli/protobuf/tablespace_pb2.py,sha256=DLYPDKOgLm1xeZAT5F7WMLaGQJM_npeYfpZAFMSM6OU,37008
33
33
  yamcs/cli/protobuf/timeline_pb2.py,sha256=JUl7sGOYMS8IP6h0hCOCrQz8BaBtvxjf6lY7cpDYcfg,5004
34
- yamcs_cli-1.4.11.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
35
- yamcs_cli-1.4.11.dist-info/METADATA,sha256=INvWD7ueYwv1LJg785NQzJGeJeOGZgEdNGtolRjrKyc,1424
36
- yamcs_cli-1.4.11.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
37
- yamcs_cli-1.4.11.dist-info/entry_points.txt,sha256=M6Juk3MbdDMR1v3htR2aHEebitGHW-E3ujHmYQLwEas,50
38
- yamcs_cli-1.4.11.dist-info/top_level.txt,sha256=EsFTpWxnHBl6f_5Wf-CrENGPSoY7xP4T-JpgBMwsk8Q,6
39
- yamcs_cli-1.4.11.dist-info/RECORD,,
34
+ yamcs_cli-1.4.12.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
35
+ yamcs_cli-1.4.12.dist-info/METADATA,sha256=GDAyRQHDISQK3ug3tzlVW_QbyLyDCKa4AIzB9RAvXH0,1417
36
+ yamcs_cli-1.4.12.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
37
+ yamcs_cli-1.4.12.dist-info/entry_points.txt,sha256=M6Juk3MbdDMR1v3htR2aHEebitGHW-E3ujHmYQLwEas,50
38
+ yamcs_cli-1.4.12.dist-info/top_level.txt,sha256=EsFTpWxnHBl6f_5Wf-CrENGPSoY7xP4T-JpgBMwsk8Q,6
39
+ yamcs_cli-1.4.12.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.38.4)
2
+ Generator: setuptools (75.7.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5