-
Notifications
You must be signed in to change notification settings - Fork 1
/
CHANGELOG.rst
429 lines (260 loc) · 11.7 KB
/
CHANGELOG.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
==========
SubmitCGAP
==========
----------
Change Log
----------
4.2.0
=====
* Support for Python 3.12.
* Dropped support for Python 3.7 (minimum is 3.8.1).
* TODO: Note that one of the tests (marked with TODO/2024-07-03) within each of the below test modules never worked
properly. While upgrading to Python 3.12 found that the correct way to do it is to invoke assert_called_with rather
than doing an assert on called_with; the latter merely checks that the called_with returns a non-falsey value which
is not really checking anything; and making this change breaks this test, meaning it never worked right.
- submit_cgap/tests/test_show_upload_info.py
- submit_cgap/tests/test_submit_metadata_bundle.py
- submit_cgap/tests/test_submit_ontology.py
4.1.2
=====
* Fix ``pip install`` command in installation docs
4.1.1
=====
* Various documentation changes, mostly ported back from the ``submitr`` fork:
* Change Submit-CGAP throughout to SubmitCGAP for internal branding consistency.
* Small wording changes for clarity, especially in Overview.
* Fix some ``.rtf`` syntax errors (especially uses of single-backquote where double-backquote required).
* Clearer section names.
* "Installing Prerequisites" (instead of "Basic Setup") for clarity about what content to expect.
* "Using SubmitCGAP" (instead of "Getting Started") again for clarity.
* "Implementation of submit_cgap package" instead of "submit_cgap package" so that the user is less likely
to feel they need to understand this section to use the tool.
* Put information about ``rclone`` at the end, and make it clear that it's an alternative to using this tool
rather than the main documentation of how to use this tool.
* Put subpackage information at the end of package list, not at the beginning.
* Don't show package content ``submit_cgap.tests`` or ``submit_cgap.scripts`` (which would show info from
``__init__.py``, which we don't do). This avoids some useless/confusing section headings.
* Add some additional ``Makefile`` recipes, most importantly ``make preview-locally`` to preview what Sphinx
will do on ReadTheDocs.
* Backport some improvements to GithubActions (GA) workflows that were debugged for ``submitr``.
* Use ``make build`` rather than explicit ``poetry`` initialization (to avoid extra dependency on version).
* Use ``ref=`` instead of ``branches=`` when submitting a doc build job.
* Trigger auto-build of doc on any non-beta checkin.
(For betas, use the new ``make preview-locally`` since
the recipe for building will just build from master and
doesn't parameterize the branch.)
4.1.0
=====
* Support for a check-submission command.
* Very basic support for SMaHT.
* Commands can now take ``--app smaht`` (which will use ``~/.smaht-keys.json``)
* submit-ontology takes ``--consortium`` and ``submission_center`` arguments.
* Some other functionality may still be missing. Send email if you're missing something you need.
4.0.0
=====
* Add command submit-ontology with new SubmissionProtocol.S3 support that allows upload first via S3
when initiating a connection. This is not an incompatible change, but it is a very major feature addition,
so I'm going to bump the major version.
* In ``base.py``:
* New class ``GenericKeyManager`` to manage possibility of either Fourfront or CGAP keys files
(``~/.fourfront-keys.json`` vs ``~/.cgap-keys.json``)
* Appropriate unit test coverage.
* Use poetry 1.3.2 for building. Update other dependencies.
* -------
* Verify ontology file first before processing in submit-ontology.
* Added --verbose and --debug options to submit-xyz and show-upload-info.
* Fixed show-upload-info to work with new --app option etc.
* Updated show-upload-info to show more info on the given ingestion uuid.
3.1.0
=====
`PR 34: Increase submission timeout <https://github.com/dbmi-bgm/SubmitCGAP/pull/34>`_
* Increase submission timeout from 2 to 10 minutes
3.0.0
=====
* Updates to use creds_utils (C4-779):
* Removed ``auth.py``, and in ``base.py`` removes:
* class ``KeyManager`` class
* decorator``UsingCGAPKeysFile``
* Changed other existing functionality to use new ``dcicutils.creds_utils`` in place of
removed functionality. (See
`SubmitCGAP PR #24 <https://github.com/dbmi-bgm/SubmitCGAP/pull/24>`_
for additional detail.)
* Added a ``make`` target named ``clear-poetry-cache``
to help with certain ``poetry`` solver problems that result from improper caching.
* Upgrades to dcicutils 6.0 (C4-896):
* Avoid use of ``full_cgap_env_name``. Just don't adjust the name.
* Avoid use of ``get_real_env_url`` by changing ``submission.resolve_server``
to not use heuristics based on it.
**NOTE:** These changes are slightly incompatible, but not materially so.
There aren't programmatic dependencies on this library, unless maybe scripts.
It will be necessary after this change to use environment names and hostnames
that are properly declard in ``~/.cgap-keys.json``.
2.0.1
=====
* Update documentation with some small fixes
* Add new basic setup documentation
2.0.0
=====
* Drop support for Python 3.6 (C4-898)
* Use ``ignored``, ``local_attrs``, and ``override_environ``
from ``dcicutils.misc_utils`` rather than ``dcicutils.qa_utils``. (C4-895)
* Add debugging instrumentation for failed access to credentials.
1.5.0
=====
* Support upload of extra files
* Update test submission FASTQ files to match update submission requirements
1.4.2
=====
* Further adustments to repair problems created by 1.4.1 (C4-818).
1.4.1
=====
* Fix SubmitCGAP file upload to work correctly under Microsoft/Windows 10 (C4-816).
2.0.0
=====
* Drop support for Python 3.6 (C4-898)
* Use ``ignored``, ``local_attrs``, and ``override_environ``
from ``dcicutils.misc_utils`` rather than ``dcicutils.qa_utils``. (C4-895)
* Add debugging instrumentation for failed access to credentials.
1.5.0
=====
* Support upload of extra files
* Update test submission FASTQ files to match update submission requirements
1.4.2
=====
* Further adustments to repair problems created by 1.4.1 (C4-818).
1.4.1
=====
* Fix SubmitCGAP file upload to work correctly under Microsoft/Windows 10 (C4-816).
1.4.0
=====
* Suppress stack traceback on unexpected errors.
* Allow suppression behavior to be overridden by setting environment variable ``DEBUG_CGAP=TRUE``.
* Add an instructive herald before unexpected errors, suggesting that a bug report might need to be filed.
1.3.0
=====
* Supports Python 3.9
1.2.0
=====
* Supports Python 3.8
1.1.3
=====
* Fixed name of keyfile in installation documentation and added/modified some of
the wording and examples.
1.1.2
=====
* Documentation reorganized; some documentation specific to submitting
family histories added.
1.1.1
=====
* Implements an optimization of the submission protocol so that if
the ``upload_credentials`` contain an entry for ``s3_encrypt_key_id``,
that value is used without the health page having to be consulted.
1.1.0
=====
* Support for proper handling of ``s3_encrypt_key_id`` where one is available
(e.g., as shown in health page).
1.0.0
=====
**PR 15: Update to require dcicutils 3.1.0 (C4-736)**
* Fixes `SubmitCGAP still uses old dcicutils (C4-736) <https://hms-dbmi.atlassian.net/browse/C4-736>`_
This change requires python 3.6.1 (instead of 3.6.0) and dcicutils 3.1.0 or greater (instead of 2.4.0).
This is technically an incompatible change, though no one is calling into this
library programmatically so there is probably not code to be changed.
* Bumps the major version to version 1.0.0 in part because of the technical change in dependencies
and in part to celebrate that SubmitCGAP is being used for production work now.
0.10.0
======
**PR 14: Fix server regexp for cgap-msa (C4-710)**
* Allow orchestrated server names to pass syntax checking test.
0.9.0
=====
**PR 13: SubmitCGAP --no_query and --subfolders arguments**
* Add ``--no_query`` argument to ``resume_uploads``, ``submit_metadata_bundle``,
and ``upload_item_data`` scripts as well as corresponding functions in
``submission``.
* Add ``--subfolders`` argument to ``resume_uploads`` and ``submit_metadata_bundle``
scripts and corresponding functions.
* Change ``local_attrs`` import in base.py to reflect changes in ``dcicutils`` to allow
commands to be run following install of ``submit_cgap`` without need to install
``pytest``.
* Update ``pyproject.toml`` and ``poetry.lock`` to require new version of ``dcicutils``.
0.8.0
=====
**PR 12: SubmitCGAP submit-genelist**
* Add ``submit-genelist`` command for uploading gene lists
0.7.3
=====
**PR 10: Fix scripts/publish (C4-512)**
* Fix the ``scripts/publish`` script to work on GitHub Actions (GA)
by allowing a ``--noconfirm`` argument.
0.7.1, 0.7.2
============
These versions had flaws. The intended changes were released as version 0.7.3.
0.7.0
=====
**PR 9: SubmitCGAP --ingestion_type argument (C4-506)**
* Add ``--ingestion_type`` argument to ``submit-metadata-bundle``.
0.6.0
=====
**PR 8: SubmitCGAP file upload bug**
* Add ``--upload_folder`` argument to the ``resume-uploads``
and ``submit-metadata-bundle`` scripts.
* Fix bug `SubmitCGAP file upload bug (C4-383) <https://hms-dbmi.atlassian.net/browse/C4-383>`_.
* Add ``make retest`` to re-run test cases that have failed.
0.5.0
=====
**PR 7: Accommodate new permissions protocol.**
* Implement support for submission with new permissions system.
0.4.3
=====
**PR 6: Convert build to GA**
* Converts build from Travis to Github Actions.
0.4.2
=====
**PR 5: Implement CGAP_KEYS_FILE**
* Fix environment variable ``CGAP_KEYS_FILE`` to allow override of what file contains the user's keys. This is intended only for internal use, not for end users, which is why it's not an argument to the relevant commands.
0.4.1
=====
**PR 4: Fix defaulting of institution in submit-metadata-bundle.**
* Fix defaulting of the ``--institution`` and ``--project``
command line arguments to the ``submit-metadata-bundle`` shell script.
* Add this ``CHANGELOG.rst``.
0.4.0
=====
**PR 3: Miscellaneous Refinements**
* Various unrelated things in response to alpha testing by Sarah Reiff.
* Make an explicit dependency on awscli so if someone doesn't have that
globally loaded, it gets loaded by Poetry.
* **[Incompatible change]** Simplify the name of the key file to ``~/.cgap-keys.json``
rather than ``~/.cgap-keydicts.json`` to avoid Python-specific
terminology that users may not care about.
.. warning::
This is an **incompatible change**. However, we're still in major version 0,
and such changes are allowed there. It only requires renaming your
keys file.)
* Make it possible to use an alternate keyfile, but only by
setting an environment variable, ``CGAP_KEY_FILE``, so that ordinary users
aren't doing this, as they should need to.
* Special handling of talking to a server that doesn't have the necessary
support. Hopefully not a problem going forward, but just in case.
* Add a show-upload-info script (``scripts/show_upload_info.py``).
* Rearrange documentation to have installation covered in its own file.
* Extend documentation related to testing, especially interactively.
* Delete ``proto_submit.py.txt``, which was part of initial scaffolding
for this repo and is no longer useful.
0.3.0
=====
**PR 2: Provision RTD**
* Provisions readthedocs for Submit CGAP
0.2.0
=====
**PR 1: File uploads**
* Invocation of a /submit_for_ingestion server endpoint to send a metadata bundle
for processing.
* Implement waiting (polling /IngestionSubmission pages) to see when processing
is done.
* Upon successful processing remotely,
manage upload of files implicated by the processing.
0.1.0
=====
* First stab at repository.