Commit graph

143 commits

Author SHA1 Message Date
737834224d refactor: Swap list filtering with lazy iterations 2024-01-30 10:42:55 -06:00
2f9c53c090 fix: Make iterator work right 2024-01-30 10:42:55 -06:00
4af33538f0 feat: Add lazy release iterator 2024-01-30 10:42:55 -06:00
c71f252745 feat: Add using GitHub API latest feature back in 2024-01-30 10:42:55 -06:00
82d97e2453 refactor: Place latest stable release conversion inline 2024-01-30 10:42:55 -06:00
7473a3926d refactor: Use callback for octokit conversion 2024-01-30 10:42:55 -06:00
251e9bd445 feat: Add larger pagination to octokit-wrapper 2024-01-30 10:42:55 -06:00
d52c98d592 chore: Bump version in CHANGELOG 2024-01-21 22:09:10 -06:00
77d8bbb78a chore: Bump version is package.json to v1.5.0 2024-01-21 22:09:10 -06:00
2098c3cdb2 feat!: Remove manual API calling tests
These tests are no longer used since the switch to OctokitWrapper, and
conflict with packages required for the implementation of throttling, so
remove them.
2024-01-21 20:57:22 -06:00
8982670453 chore: Update CHANGELOG 2024-01-21 20:57:22 -06:00
ad67a7e0bd feat: Pass action inputs to OctkitWrapper 2024-01-21 20:57:22 -06:00
d8ab760f18 chore: Remove unused imports 2024-01-21 20:57:22 -06:00
803f3d4782 feat: Add throttling to OctkitWrapper 2024-01-21 20:57:22 -06:00
0e885a8e09 chore: Update GitHub actions package to v6.0.0
The GitHub actions API changes the underlying type structure to allow
for plugins like the throttling plugin at v6, so update to that version.
2024-01-21 20:57:22 -06:00
120ab3178f feat: Add max-retries parameter to action inputs 2024-01-21 20:57:22 -06:00
a60acb2a32 feat: Add cooldown parameter to action inputs 2024-01-21 20:57:22 -06:00
37825f6967 chore: Install Octokit throttling plugin package 2024-01-21 20:57:22 -06:00
mashehu
b30f81e0d5 add todo item back 2024-01-12 18:02:02 +00:00
mashehu
a082e105b0 make linter happy 2024-01-12 18:02:02 +00:00
aedbf9a630 fix: Support versions of Nextflow without "all" variants 2024-01-12 18:02:02 +00:00
99c654d38a fix: Add check for non-semver version strings in cache check 2024-01-12 18:02:02 +00:00
f65da33a7d test: Update version checking tests 2024-01-12 18:02:02 +00:00
85718639f5 test: Update API consistency tests 2024-01-12 18:02:02 +00:00
670f4c751c refactor: Update main script to use NextflowRelease objects 2024-01-12 18:02:02 +00:00
2483bb745d refactor: Outsource API calls to OctokitWrapper 2024-01-12 18:02:02 +00:00
2a5cf63744 docs: Clarify why CAPSULE_LOG is set 2024-01-12 18:02:02 +00:00
3e1cca9d8c refactor: Add and remove imports from main script 2024-01-12 18:02:02 +00:00
9a573cd481 refactor: Make install_nextflow work using NextflowRelease objects 2024-01-12 18:02:02 +00:00
5a5c42e549 refactor: Make get_nextflow_release work using NextflowRelease objects 2024-01-12 18:02:02 +00:00
bc65c05e25 refactor: Make tag filtering work on NextflowRelease objects 2024-01-12 18:02:02 +00:00
cdb0393711 refactor!: Move all Octokit code to own file
Separation of concerns. We want to completely separate the internals of
Octokit from this application, so move any reference/call to Octokit into
its own file to symbolize that.
2024-01-12 18:02:02 +00:00
ca8fcaccab feat: Add nextflow_release function
WIth the goal being to convert Octokit data into NextflowRelease objects,
create a function that can do that in one line.
2024-01-12 18:02:02 +00:00
a97128956e refactor: Move nextflow_bin_url function to NextflowRelease.ts
Nextflow binary URLs should be stored in the new NextflowRelease object, so
it should essentially be private for the NextflowRelease type. Move the
function to that file to signify that (but retain export for testing
purposes).
2024-01-12 18:02:02 +00:00
7cc27d1095 feat: Add NextflowRelease type 2024-01-12 18:02:02 +00:00
d736e9561d docs: Add codecov badge to README 2023-10-31 01:42:06 +00:00
71753bca1d feat: Add codecov action to test workflow 2023-10-31 01:42:06 +00:00
4499488e7d feat: Add coverage reporting to test protocol 2023-10-31 01:42:06 +00:00
1f1a43fb20 chore: Add c8 to dev dependencies 2023-10-31 01:42:06 +00:00
99243fb566 chore: Bump version number in package files 2023-10-26 02:45:41 +00:00
b9b7d187dd chore: Update CHANGELOG for v1.4.0 2023-10-26 02:45:41 +00:00
Edmund Miller
441990da28
Merge pull request #23 from mashehu/break-on-error
Fail instead of warn, when `nextflow help` doesn't work
2023-10-11 13:36:11 -05:00
mashehu
7e43c4af0e
Fail instead of warn, when nextflow help doesn't work 2023-10-11 16:29:12 +02:00
8e5e5dbd4c art: Add nf-core logo to README 2023-08-11 12:20:28 -05:00
Robrecht Cannoodt
2008cb75f6 no matrix is specified for 'test-14' 2023-07-10 21:41:26 -05:00
Edmund Miller
b77a1defc2
Merge pull request #15 from data-intuitive/run-unit-test-in-ci
Fix testing ci
2023-06-30 10:10:57 -05:00
Robrecht Cannoodt
e066eb124a Add helper function for checking the latest releases in the unit tests (#15). 2023-06-28 11:07:13 +02:00
Robrecht Cannoodt
7136a6f06e update more releases 2023-06-28 11:07:13 +02:00
Robrecht Cannoodt
07f474dd40 Fix release version check in unit test (#15). 2023-06-28 11:07:13 +02:00
Robrecht Cannoodt
c6daa302be Fix testing ci 2023-06-28 11:07:13 +02:00