• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ghga-de / ghga-connector
79%

Build:
DEFAULT BRANCH: main
Repo Added 10 May 2022 09:41PM UTC
Token 7QsisvkzEUjSr8rc94MNKRnKQO4HXy5NC regen
Build 612 Last
Files 33
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • 0.1.0
  • 0.1.1
  • 0.1.2
  • 0.1.3
  • 0.1.4
  • 0.2.10
  • 0.2.11
  • 0.2.12
  • 0.2.2
  • 0.2.3
  • 0.2.4
  • 0.2.5
  • 0.2.6
  • 0.2.9
  • 0.3.0
  • 0.3.1
  • 0.3.10
  • 0.3.11
  • 0.3.12
  • 0.3.13
  • 0.3.14
  • 0.3.2
  • 0.3.3
  • 0.3.5
  • 0.3.6
  • 0.3.7
  • 0.3.8
  • 0.3.9
  • 1.0.0
  • 1.1.0
  • 1.1.1
  • 1.1.2
  • 1.2.1
  • 1.3.0
  • 1.4.0
  • 1.4.1
  • 1.4.2
  • 1.5.0
  • 1.5.1
  • 1.6.0
  • 1.7.0
  • 1.7.1
  • 1.7.2
  • 1.7.3
  • 1.8.0
  • akyumurkov-patch-1
  • bugfix/switch_upload_to_pycurl_requests
  • debug/hishel_logging
  • dev
  • expect_decrypt_wpa_token_GIS-49
  • feature/905_suggestions
  • feature/abstract_logger_GDEV-904
  • feature/add_dockerfile_GDEV-1435
  • feature/async-cli-with-wrapper
  • feature/batch_download_information_GDEV-1818
  • feature/batchprocessing_GDEV-1819
  • feature/big_refactor/flatten_cli
  • feature/big_refactor/low_impact_high_LOC_refactoring
  • feature/big_refactor/misc_refactoring
  • feature/big_refactor/param_pruning
  • feature/big_refactor/refactor_config
  • feature/big_refactor/untangle_classes
  • feature/big_refactor_GSI-1859
  • feature/bump_commons
  • feature/caching_GSI-1235
  • feature/check_if_file_encrypted_GDEV-1703
  • feature/cleanup-urls-from-wkvs
  • feature/configurable_user_agent
  • feature/decryption_command_GSI-85
  • feature/default_wkvs_api_url_GSI-287
  • feature/dl_in_progress_names_GDEV-1820
  • feature/dl_progress_bar_GSI-664
  • feature/downloaded_file_checks_GSI-46
  • feature/encrypt_file_GDEV-1705
  • feature/file_post_iterators_GDEV-899
  • feature/fix_gaps_in_messages_GSI-304
  • feature/fix_github_actions_GDEV-880
  • feature/global_config_GDEV-1020
  • feature/hexkit_v4_GSI-1343
  • feature/hide_upload_functionality_GSI-237
  • feature/httpyexception_ids_GDEV-1014
  • feature/implement_parallelization_GDEV-1712
  • feature/improve-decrypt-command
  • feature/improve-file-stager
  • feature/improve-prompt-for-token
  • feature/make_user_friendly_GSI-236
  • feature/multiple_file_download_GDEV-1571
  • feature/prepare_release_GSI-189
  • feature/refactor_to_new_api_GDEV-898
  • feature/relax-hexkit-requirement
  • feature/remove_chassis_lib_GSI-193
  • feature/remove_requests_dep
  • feature/request_session_GDEV-1405
  • feature/requests_to_httpx_GSI-191
  • feature/retry_logic_decorator_GDEV-901
  • feature/separate_core_and_cli_GDEV-905
  • feature/small_improvements_GDEV-1017
  • feature/test_multiple_py_versions
  • feature/timeout-and-errors-GSI-537
  • feature/transmit_public_key_GDEV-1501
  • feature/transport_based_retry_ratelimiting
  • feature/up_down_context_GDEV_900
  • feature/update-dependencies
  • feature/update-dependencies-GIM-450
  • feature/update-dependencies-GIM-673
  • feature/update-dependency-version-gsc
  • feature/update-pypi-worklow
  • feature/update-readme-0.3.x
  • feature/update-template
  • feature/update-timeout-in-previous-version
  • feature/update_template_GSI-225
  • feature/upload_path_GSI-1860
  • feature/use_mock_router_GSI-326
  • feature/use_pytest_httpxmock_GSI-192
  • feature/windows_macos_runners
  • feauture/change_exponential_backoff
  • fine_grained_exception_handling_GDEV-902
  • fix/chassis_lib_dependency
  • fix/check_url_timeout
  • fix/crossplatform_dependency_issues
  • fix/dcs-endpoint-for-getting-envelopes
  • fix/download_issues_GSI-231
  • fix/download_retry_logic
  • fix/downloading-small-files
  • fix/encrypted_private_key_passphrase
  • fix/fetching-work-order-token
  • fix/fix_tests_part_size
  • fix/improve_donwload_experience
  • fix/memory_issues
  • fix/patch_multipart
  • fix/pubkey_field
  • fix/pypi
  • fix/pypi_publish
  • fix/pypi_publish_action
  • fix/range_header_download_GDEV-882
  • fix/remove_redirect_logic_GDEV-1647
  • fix/retry_logic_enhancement
  • fix/retry_logic_presigned_url
  • fix/s3_dependency_issues
  • fix/saner_package_exports
  • fix/setuptools_version
  • fix/update-from-template
  • fix/update_dependencies_GDEV-1568
  • handover_documentation_GSI-165
  • multipart_download_GDEV-752
  • multipart_upload_GDEV-754
  • pycurl_to_requests_GDEV-897
  • reactoring_continue_GSI-245
  • refactoring_GSI-245
  • release-0.3.x
  • replace_dummy_wps_call_GSI-50
  • retrieve_work_order_tokens_GSI-51
  • sefeature/send_pubkey_GDEV-1571
  • sugg2_GDEV-752
  • suggestions/GDEV-901
  • template_migration_GSI-384
  • template_update
  • test_jitter
  • update_lock_files
  • update_mypy
  • update_pypi_GSI-294
  • update_template_files
  • upload_refactoring_GSI-265
  • v1
  • v1.4.1

19 Nov 2025 08:34AM UTC coverage: 79.24% (+1.5%) from 77.761%
19494939692

push

github

web-flow
Upload Path (GSI-1860) (#122)

* Commit initial changes to upload path

* Tweaks to code and add some tests

* Add basic tests for upload

* Provide a clean way to perform batch uploads

* Move encrypted file size calc to Encryptor class

* Rename function for accuracy

* Adapt UploadClient for new transport

* Fix encrypted_is_empty() & document + refactor process_file()

* Strip paths

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

* Condense 401 and 403 in match case with same actions for each

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

* Remove stray print in test_cli.py

* Fix Bearer token string in UploadClient calls

* Simplify and consolidate the three top-level file upload errors

* Update src/ghga_connector/exceptions.py

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

* Convert BatchUploader into a function and restrict config parameters

* Add file path debug log

* Resolve file path to uploaded files

* Improve global config access for testing patching

* Simply checksum access by making members public

* Make FileUpload deletion error also subclass _FileUploadError and include a reason

---------

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

355 of 434 new or added lines in 15 files covered. (81.8%)

20 existing lines in 6 files now uncovered.

1126 of 1421 relevant lines covered (79.24%)

0.79 hits per line

Relevant lines Covered
Build:
Build:
1421 RELEVANT LINES 1126 COVERED LINES
0.79 HITS PER LINE
Source Files on main
  • Tree
  • List 33
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19494939692 main Upload Path (GSI-1860) (#122) * Commit initial changes to upload path * Tweaks to code and add some tests * Add basic tests for upload * Provide a clean way to perform batch uploads * Move encrypted file size calc to Encryptor class * Rename... push 19 Nov 2025 08:37AM UTC web-flow github
79.24
19330373754 main Transport based retry/rate limiting/caching logic (#123) push 13 Nov 2025 11:45AM UTC web-flow github
77.76
18746313819 main Merge pull request #120 from ghga-de/feature/big_refactor_GSI-1859 Download path refactoring (GSI-1859) push 23 Oct 2025 11:10AM UTC web-flow github
78.64
17972291029 main Update template files (#114) * Update template files * Tweak test param to mitigate flaky behavior * Remove python 3.9 references and add python 3.13 * Modernize code and upgrade lock files again * Modify versions in tests dot yaml * Remove ... push 24 Sep 2025 09:27AM UTC web-flow github
80.28
15553971083 main Bump setuptools version (#113) push 10 Jun 2025 08:08AM UTC web-flow github
79.96
15305505830 main Update dependencies, fix overwrite flag and update license headers (#112) push 28 May 2025 04:33PM UTC web-flow github
79.96
13948896593 main Additional retry logic + logic to fetch fresh URL on 403 (#111) push 19 Mar 2025 02:26PM UTC web-flow github
79.96
13676833405 main Retry logic for fetching presigned URL (#110) push 05 Mar 2025 01:18PM UTC web-flow github
80.0
13525160490 main Added support for encrypted Crypt4GH private keys (#109) push 25 Feb 2025 03:47PM UTC web-flow github
80.41
13261033280 main Bump connector to v1.6.1 and use hexkit v4 (#108) push 11 Feb 2025 10:45AM UTC web-flow github
80.34
See All Builds (292)

Badge your Repo: ghga-connector

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc