Commit graph

41 commits

Author SHA1 Message Date
67a9c84bd7 feat: Pin GitHub API version 2024-01-30 10:42:55 -06:00
a5dd242af1 feat!: Remove tag_filter function 2024-01-30 10:42:55 -06:00
2850a8553a refactor: Replace pull_releases function with iterator generator
Although the types are different, the intent is the same, so I think the
name is fitting.
2024-01-30 10:42:55 -06:00
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
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
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
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
mashehu
7e43c4af0e
Fail instead of warn, when nextflow help doesn't work 2023-10-11 16:29:12 +02:00
Robrecht Cannoodt
be72b1dc0f If fs.renameSync fails (e.g. because source and destination files are on different partitions), try fs.copySync and fs.unlinkSync instead. 2023-06-22 09:18:37 +02:00
fe166f9eb6 refactor: Add short-circuit cache checking for already-installed Nextflow 2023-05-18 12:49:37 +00:00
545262d3b9 feat: Add tool-cache checking function 2023-05-18 12:49:37 +00:00
Edmund Miller
0aeab8d284 style: Use double-quotes
Co-authored-by: ewels <ewels@users.noreply.github.com>
2022-11-17 19:32:25 +00:00
Edmund Miller
95a4337530 style: Add simple-import-sort and run 2022-11-17 19:32:25 +00:00
Edmund Miller
981cd4fc2e style: Set bracketSpacing to true 2022-11-17 19:32:25 +00:00
Edmund Miller
c3424c52c4 chore: Clean up release sorting types 2022-11-17 19:32:25 +00:00
Edmund Miller
c19a8b88ef chore: handle octokit typing 2022-11-17 19:32:25 +00:00
Edmund Miller
7a0ec2a9b4 chore: Clean up a bunch of object references
https://medium.com/@kgdilipchandana/how-to-solve-error-ts2339-property-label-does-not-exist-on-type-in-angular-5-db01843ef6a
2022-11-17 19:32:25 +00:00
Edmund Miller
955a936296 chore: Clean up some catch errors 2022-11-17 19:32:25 +00:00
Edmund Miller
aebdb951b0 style: Fix all eslint errors 2022-11-17 19:32:25 +00:00
Edmund Miller
b9a7fb9499 refactor: Move functions functions to their own file 2022-11-17 19:32:25 +00:00
Edmund Miller
c976e6b883 refactor: Move everything into a src/ dir 2022-11-17 19:32:25 +00:00