Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-41032: Add per-dataset-type special transfer handling #24

Merged
merged 76 commits into from
Mar 6, 2024

Conversation

beckynevin
Copy link
Contributor

New features:

  • accepts a list of datasettypes and collections
  • tests the above
  • all other tests still pass when datasettypes is a string
  • splits the input list of datasettypes into two categories: those with and without exposures
  • Those with exposures (ie raw type) must also register URI and then runs through Tim's modified version of transfer_from which prepares for transfer
  • Those with exposures are also run through transfer_dimension_records_from
  • Finally, ingest
  • All of the before code works for the no exposure type, although we don't currently have any of this datatype to test (that'll happen in 41033, which we'll rebase off of this branch once it's merged to main)

jsv1206 and others added 30 commits September 28, 2023 20:20
…ecause we want the program to accept a list of datatypes and collections instead of testing for them individually
.github/workflows/test_and_build_cache.yml Outdated Show resolved Hide resolved
.github/workflows/test_and_build_cache.yml Outdated Show resolved Hide resolved
.github/workflows/requirements.txt Outdated Show resolved Hide resolved
.github/workflows/test_and_build_cache.yml Outdated Show resolved Hide resolved
src/move_embargo_args.py Show resolved Hide resolved
src/move_embargo_args.py Show resolved Hide resolved
src/move_embargo_args.py Show resolved Hide resolved
src/move_embargo_args.py Outdated Show resolved Hide resolved
src/move_embargo_args.py Show resolved Hide resolved
src/move_embargo_args.py Show resolved Hide resolved
tests/test_move_embargo_args.py Outdated Show resolved Hide resolved
tests/test_move_embargo_args.py Outdated Show resolved Hide resolved
tests/test_move_embargo_args.py Outdated Show resolved Hide resolved
tests/test_move_embargo_args.py Outdated Show resolved Hide resolved
@ktlim ktlim changed the title Tickets/dm 41032 DM-41032: Add per-dataset-type special transfer handling Feb 27, 2024
… some tests to use xfail, also touched .fits files to make them empty

git rm'ing requirements.txt

workflow uses environmental variable for EUPS version for both caching and installing dependencies related to eups

running isort and black on move

removing commented out code from move

removing commented out code from test also isort and black

removing all if statement for namespace.log

removing all print statements in favor lof logging

testing yaml syntax

syntax needs to be a string in yaml?

syntax back to pipes?

fixed indent in yaml

expunging prints and implementing logging and testing it works for info

going back to lsst clilog method

black on move

should run workflow

no more just import lsst

Union --> |, grabbing another lsst import

changing workflow tests to pytest

testing now expected failing

adding mechanism so that move is a store_true argument and so log is a string (INFO)

isort and black for test and move

resolving issue with dest uri and combining prune into one list

resolving dest uri

decided to add back f statements to asserts

making raw blank

raw 61 blank now

touching all .fits
@beckynevin beckynevin merged commit a56e48f into main Mar 6, 2024
4 checks passed
@beckynevin beckynevin deleted the tickets/DM-41032 branch March 6, 2024 15:31
@beckynevin beckynevin restored the tickets/DM-41032 branch March 22, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants