Skip to content

Commit

Permalink
21.05 release (#311)
Browse files Browse the repository at this point in the history
* Bump unstable and add 21.05 release

* The usual typos

* The frontend stuff was missing

* preserve the order

* Update import-scripts/import_scripts/channel.py

Co-authored-by: Rok Garbas <rok@garbas.si>

Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
  • Loading branch information
garbas and Jonathan Ringer authored Jun 2, 2021
1 parent ff8022f commit d1085b8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions import-scripts/import_scripts/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
INDEX_SCHEMA_VERSION = os.environ.get("INDEX_SCHEMA_VERSION", 0)
DIFF_OUTPUT = ["json", "stats"]
CHANNELS = {
"unstable": "nixos/unstable/nixos-21.05pre",
"20.03": "nixos/20.03/nixos-20.03.",
"unstable": "nixos/unstable/nixos-21.11pre",
"21.05": "nixos/21.05/nixos-21.05.",
"20.09": "nixos/20.09/nixos-20.09.",
}
ALLOWED_PLATFORMS = ["x86_64-linux", "aarch64-linux", "x86_64-darwin", "i686-linux"]
Expand Down
20 changes: 10 additions & 10 deletions src/Search.elm
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ createUrl toRoute model =

type Channel
= Unstable
| Release_20_03
| Release_20_09
| Release_21_05


{-| TODO: we should consider using more dynamic approach here
Expand All @@ -388,7 +388,7 @@ type alias ChannelDetails =

defaultChannel : String
defaultChannel =
"20.09"
"21.05"


channelDetails : Channel -> ChannelDetails
Expand All @@ -397,25 +397,25 @@ channelDetails channel =
Unstable ->
ChannelDetails "unstable" "unstable" "nixos/trunk-combined" "nixos-unstable"

Release_20_03 ->
ChannelDetails "20.03" "20.03" "nixos/release-20.03" "nixos-20.03"

Release_20_09 ->
ChannelDetails "20.09" "20.09" "nixos/release-20.09" "nixos-20.09"

Release_21_05 ->
ChannelDetails "21.05" "21.05" "nixos/release-21.05" "nixos-21.05"


channelFromId : String -> Maybe Channel
channelFromId channel_id =
case channel_id of
"unstable" ->
Just Unstable

"20.03" ->
Just Release_20_03

"20.09" ->
Just Release_20_09

"21.05" ->
Just Release_21_05

_ ->
Nothing

Expand All @@ -428,8 +428,8 @@ channelDetailsFromId channel_id =

channels : List String
channels =
[ "20.03"
, "20.09"
[ "20.09"
, "21.05"
, "unstable"
]

Expand Down

1 comment on commit d1085b8

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Please sign in to comment.