Skip to content
Snippets Groups Projects

MAINT: refactor set_location

Merged Henrik tom Wörden requested to merge f-location into main

Summary

Some refactoring to allow multiple samples to be borrowed.

Focus

  • Where code is changed, we move away from the old naming scheme of boxes.
  • Before, we had the state machine behavior distributed over lots of files. It is now defined in box_loan.py and tested in a new unit test.

Test Environment

unit and integration test: run manually

There is a test-profile with an appropriate dump that you can use to start linkahead

Check List for the Author

Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines

  • All automated tests pass
  • Reference related issues
  • Up-to-date CHANGELOG.md (or not necessary)
  • Up-to-date JSON schema (or not necessary)
  • Appropriate user and developer documentation (or not necessary)
    • How do I use the software? Assume "stupid" users.
    • How do I develop or debug the software? Assume novice developers.
  • Annotations in code (Gitlab comments)
    • Intent of new code
    • Problems with old code
    • Why this implementation?

Check List for the Reviewer

  • I understand the intent of this MR
  • All automated tests pass
  • Up-to-date CHANGELOG.md (or not necessary)
  • Appropriate user and developer documentation (or not necessary)
  • The test environment setup works and the intended behavior is reproducible in the test environment
  • In-code documentation and comments are up-to-date.
  • Check: Are there specifications? Are they satisfied?

For further good practices have a look at our review guidelines.

Edited by Florian Spreckelsen

Merge request reports

Pipeline #56994 failed

Pipeline failed for 80ea786f on f-location

Approval is optional

Merged by Florian SpreckelsenFlorian Spreckelsen 4 months ago (Oct 30, 2024 1:27pm UTC)

Pipeline #56995 failed

Pipeline failed for f5039cab on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Henrik tom Wörden
  • Henrik tom Wörden
  • Henrik tom Wörden
  • Henrik tom Wörden
  • Henrik tom Wörden
  • added 1 commit

    • 34992ebf - MAINT: refactor set_location

    Compare with previous version

  • added 1 commit

    • 220f8534 - TST: add state machine unit test

    Compare with previous version

  • Henrik tom Wörden changed the description

    changed the description

  • Henrik tom Wörden
  • Henrik tom Wörden
  • Henrik tom Wörden
  • Henrik tom Wörden
  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 352f3aea - FIX: insert person created by insert_or_update person

    Compare with previous version

  • added 1 commit

    • 3eae54fd - FIX: better debug output and some fixes

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading