Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest Deno 2 version #1243

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

aleksrutins
Copy link
Contributor

This also adds support to BuildPlan::pin for pinning the build plan to any custom archive.

Copy link
Contributor

This pull request is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale The pull request is stale label Dec 31, 2024
Copy link
Contributor

github-actions bot commented Jan 5, 2025

This pull request was closed for lack of activity. Feel free to reopen later.

@github-actions github-actions bot closed this Jan 5, 2025
@aleksrutins
Copy link
Contributor Author

This is not stale. How can I reopen it?

@brody192 brody192 reopened this Jan 5, 2025
@brody192
Copy link
Contributor

brody192 commented Jan 5, 2025

Sorry about that! we'll be looking at this after we are back from winter break!

@github-actions github-actions bot removed the stale The pull request is stale label Jan 6, 2025
@@ -46,6 +49,8 @@ pub struct BuildPlan {

pub phases: Option<Phases>,

pub pinned_archive: Option<String>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not necessary as phases already support setting the Nix archive to a specific version, https://github.com/railwayapp/nixpacks/blob/7653b2f1a8b7c4532adb51d1c8f7f20cbd26386c/src/nixpacks/plan/phase.rs/#L207.

See this as an example

@@ -13,6 +13,9 @@ pub const NIXPKGS_ARCHIVE: &str = "5148520bfab61f99fd25fb9ff7bfbb50dad3c9db";
// Version of the Nix archive that uses OpenSSL 1.1
pub const NIXPACKS_ARCHIVE_LEGACY_OPENSSL: &str = "a0b7e70db7a55088d3de0cc370a59f9fbcc906c3";

// Version of the Nix archive with the latest Deno
pub const NIXPACKS_ARCHIVE_LATEST_DENO: &str = "734af41a2b6a21fb9bf70d9f170563b6932364bb";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be moved to the deno provider file

@coffee-cup coffee-cup added the release/minor Author minor release label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/minor Author minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants