Commit Graph

54 Commits (master)

Author SHA1 Message Date
Thomas A. Christensen II d86e286349 feat!: Remove url resolver for NextflowRelease 3 months ago
Thomas A. Christensen II 913140bcc3 feat!: Remove Octkit conversion function for NextflowRelease 3 months ago
Thomas A. Christensen II 4f10ea1aa5 feat!: Remove Octokit API 3 months ago
Thomas A. Christensen II caa40cbf6e refactor!: Replace Octokit API with nf-core API in main script 3 months ago
Thomas A. Christensen II fe7784be92 refactor!: Rename NextflowRelease.allBinaryURL to NextflowRelease.downloadUrlAll
Another API consistency update.
3 months ago
Thomas A. Christensen II 4049d10c6d refactor!: Rename NextflowRelease.binaryURL to NextflowRelease.downloadURL
Another API consistency change.
3 months ago
Thomas A. Christensen II a6f42a71d4 refactor!: Rename NextflowRelease.versionNumber to NextflowRelease.version
This is to preserve consistency with the new API
3 months ago
Thomas A. Christensen II c5088a9942 feat!: Remove the "latest-*" version resolvers from get_nextflow_release
Not needed due to the new API
3 months ago
Thomas A. Christensen II 0af53866f0 fix: Fix the version number debug log 3 months ago
Thomas A. Christensen II 214ce026da feat: Make get_nextflow_release compatible with arrays
Although it seems like we're moving backwards, the new API only supports a
single data dump. I still like the iterative nature rather, so tack on
array support.
3 months ago
Thomas A. Christensen II 1c4afed1ea feat: Add nf-core website API wrapper
Basically, a stand-in for OctoKit, but smarter.
3 months ago
Thomas A. Christensen II 98350997f1 feat: Add optional published_at field to NextflowRelease type
Per @ewels request, the API on nf-co.re includes a "published_at" field
with the date of each release. For future compatibility without breaking
anything current, add an optional field that can handle this additional
information.
3 months ago
Thomas A. Christensen II 37eac33a2f chore: Update formatting to conform to Prettier v3 3 months ago
Thomas A. Christensen II 67a9c84bd7 feat: Pin GitHub API version 4 months ago
Thomas A. Christensen II a5dd242af1 feat!: Remove tag_filter function 4 months ago
Thomas A. Christensen II 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.
4 months ago
Thomas A. Christensen II 737834224d refactor: Swap list filtering with lazy iterations 4 months ago
Thomas A. Christensen II 2f9c53c090 fix: Make iterator work right 4 months ago
Thomas A. Christensen II 4af33538f0 feat: Add lazy release iterator 4 months ago
Thomas A. Christensen II c71f252745 feat: Add using GitHub API latest feature back in 4 months ago
Thomas A. Christensen II 82d97e2453 refactor: Place latest stable release conversion inline 4 months ago
Thomas A. Christensen II 7473a3926d refactor: Use callback for octokit conversion 4 months ago
Thomas A. Christensen II 251e9bd445 feat: Add larger pagination to octokit-wrapper 4 months ago
Thomas A. Christensen II ad67a7e0bd feat: Pass action inputs to OctkitWrapper 4 months ago
Thomas A. Christensen II d8ab760f18 chore: Remove unused imports 4 months ago
Thomas A. Christensen II 803f3d4782 feat: Add throttling to OctkitWrapper 4 months ago
mashehu a082e105b0 make linter happy 4 months ago
Thomas A. Christensen II aedbf9a630 fix: Support versions of Nextflow without "all" variants 4 months ago
Thomas A. Christensen II 99c654d38a fix: Add check for non-semver version strings in cache check 4 months ago
Thomas A. Christensen II 670f4c751c refactor: Update main script to use NextflowRelease objects 4 months ago
Thomas A. Christensen II 2483bb745d refactor: Outsource API calls to OctokitWrapper 4 months ago
Thomas A. Christensen II 2a5cf63744 docs: Clarify why CAPSULE_LOG is set 4 months ago
Thomas A. Christensen II 3e1cca9d8c refactor: Add and remove imports from main script 4 months ago
Thomas A. Christensen II 9a573cd481 refactor: Make install_nextflow work using NextflowRelease objects 4 months ago
Thomas A. Christensen II 5a5c42e549 refactor: Make get_nextflow_release work using NextflowRelease objects 4 months ago
Thomas A. Christensen II bc65c05e25 refactor: Make tag filtering work on NextflowRelease objects 4 months ago
Thomas A. Christensen II 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.
4 months ago
Thomas A. Christensen II 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.
4 months ago
Thomas A. Christensen II 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).
4 months ago
Thomas A. Christensen II 7cc27d1095 feat: Add NextflowRelease type 4 months ago
mashehu 7e43c4af0e
Fail instead of warn, when `nextflow help` doesn't work 7 months ago
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. 11 months ago
Thomas A. Christensen II fe166f9eb6 refactor: Add short-circuit cache checking for already-installed Nextflow 1 year ago
Thomas A. Christensen II 545262d3b9 feat: Add tool-cache checking function 1 year ago
Edmund Miller 0aeab8d284 style: Use double-quotes
Co-authored-by: ewels <ewels@users.noreply.github.com>
2 years ago
Edmund Miller 95a4337530 style: Add simple-import-sort and run 2 years ago
Edmund Miller 981cd4fc2e style: Set bracketSpacing to true 2 years ago
Edmund Miller c3424c52c4 chore: Clean up release sorting types 2 years ago
Edmund Miller c19a8b88ef chore: handle octokit typing 2 years ago
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
2 years ago