Skip to content
This repository was archived by the owner on Jan 12, 2025. It is now read-only.

Commit 0fae85a

Browse files
fix: debian failure to add ppas (#508)
1 parent d5ca720 commit 0fae85a

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

src/neovim-apt-get/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "neovim-apt-get",
3-
"version": "1.0.17",
3+
"version": "1.0.18",
44
"name": "Neovim (via apt-get)",
55
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/neovim-apt-get",
66
"description": "Neovim is a fork of Vim focused on modern code and features, rather than running in legacy environments.",

src/neovim-apt-get/install.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ source ./library_scripts.sh
99
# `ensure_nanolayer` is a bash function that will find any existing nanolayer installations,
1010
# and if missing - will download a temporary copy that automatically get deleted at the end
1111
# of the script
12-
ensure_nanolayer nanolayer_location "v0.4.29"
12+
ensure_nanolayer nanolayer_location "v0.4.46"
1313

1414

1515
$nanolayer_location \
1616
install \
1717
devcontainer-feature \
18-
"ghcr.io/devcontainers-contrib/features/apt-get-packages:1.0.4" \
19-
--option packages='neovim' --option ppas='ppa:neovim-ppa/stable' --option force_ppas_on_non_ubuntu='true'
18+
"ghcr.io/devcontainers-contrib/features/apt-get-packages:1.0.6" \
19+
--option packages='neovim' --option ppas='ppa:neovim-ppa/stable'
20+
2021

2122

2223
echo 'Done!'

test/neovim-apt-get/scenarios.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
2-
"test": {
2+
"test_ubuntu": {
33
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
44
"features": {
55
"neovim-apt-get": {}
66
}
7+
},
8+
"test_debian": {
9+
"image": "mcr.microsoft.com/devcontainers/base:debian",
10+
"features": {
11+
"neovim-apt-get": {}
12+
}
713
}
814
}
File renamed without changes.

test/neovim-apt-get/test_ubuntu.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash -i
2+
3+
set -e
4+
5+
source dev-container-features-test-lib
6+
7+
check "nvim --version" nvim --version
8+
9+
reportResults

0 commit comments

Comments
 (0)