-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support creating lockfile envs * Remove redundant import * Update state * Remove workarounds that are no longer needed * Handle `is_lockfile` in test * Initial edit spec support * Send updated spec to server * Get channels from lockfile * Get dependencies from lockfile * gabs edits * Add warning about no syncing between lockfile and GUI * Revert unneeded changes * Working proof of concept: lockfile upload * Switch to lockfile/specification * Show dependencies and channels for lockfile-built envs * reset SpecificationEdit when switching builds * Kim's suggestions - On VIEW page for environment built from lockfile, show link to lockfile - In specification mode of EDIT page for environment built from lockfile, show clean slate * Show installed dependencies and channels on view environment built from lockfile * lint * yarn install * yarn install (with correct version of yarn this time) * note about file formats * lint * Three changes: - pull info out from details/summary - restyle cancel/continue buttons on alert dialog - restyle "switch to" buttons and move up * update yarn.lock * Fix Docker Compose for GitHub Actions --------- Co-authored-by: Nikita Karetnikov <[email protected]>
- Loading branch information
1 parent
5dabe4f
commit 0885e02
Showing
21 changed files
with
3,202 additions
and
4,237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { CondaSpecificationPip } from "./CondaSpecificationPip"; | ||
import type { CondaSpecificationPip } from "./CondaSpecificationPip"; | ||
import type { Lockfile } from "./Lockfile"; | ||
|
||
export type CondaSpecification = { | ||
name: string; | ||
channels: string[]; | ||
dependencies: (string | CondaSpecificationPip)[]; | ||
variables: Record<string, string>; | ||
prefix?: string | null; | ||
lockfile?: Lockfile; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// TODO: define lockfile type better | ||
export type Lockfile = Record<string, any>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from "react"; | ||
import Typography from "@mui/material/Typography"; | ||
|
||
export const LockfileSupportInfo = () => ( | ||
<Typography sx={{ fontSize: "12px" }}> | ||
We currently only support the{" "} | ||
<a | ||
href="https://conda.github.io/conda-lock/" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
Conda lockfile | ||
</a>{" "} | ||
format. Other lockfile formats such as Poetry are not supported. | ||
</Typography> | ||
); | ||
|
||
export default LockfileSupportInfo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.