mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2026-05-20 01:14:14 +00:00
feat: 0.3.3, update CKAN versions
This commit is contained in:
parent
4e6c263198
commit
57dbecc0ac
9 changed files with 24 additions and 17 deletions
2
.github/workflows/run-ckan-only-install.yml
vendored
2
.github/workflows/run-ckan-only-install.yml
vendored
|
|
@ -23,4 +23,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
workspaces: ". -> target"
|
workspaces: ". -> target"
|
||||||
- name: Run ckan-devstaller
|
- name: Run ckan-devstaller
|
||||||
run: cargo run --release --verbose -- --ckan-version 2.11.4 --skip-interactive --skip-run
|
run: cargo run --release --verbose -- --ckan-version 2.11.5 --skip-interactive --skip-run
|
||||||
|
|
|
||||||
|
|
@ -11,26 +11,26 @@ export default function CKANVersionBuilderSection({ config, setConfig }: any) {
|
||||||
<Cards>
|
<Cards>
|
||||||
<Card
|
<Card
|
||||||
icon={<SailboatIcon />}
|
icon={<SailboatIcon />}
|
||||||
title="2.11.4"
|
title="2.11.5"
|
||||||
className={
|
className={
|
||||||
config.ckanVersion === "2.11.4"
|
config.ckanVersion === "2.11.5"
|
||||||
? selectedCardClasses
|
? selectedCardClasses
|
||||||
: "cursor-pointer"
|
: "cursor-pointer"
|
||||||
}
|
}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setConfig({ ...config, ckanVersion: "2.11.4" });
|
setConfig({ ...config, ckanVersion: "2.11.5" });
|
||||||
}}
|
}}
|
||||||
></Card>
|
></Card>
|
||||||
<Card
|
<Card
|
||||||
icon={<SailboatIcon />}
|
icon={<SailboatIcon />}
|
||||||
title="2.10.9"
|
title="2.10.10"
|
||||||
className={
|
className={
|
||||||
config.ckanVersion === "2.10.9"
|
config.ckanVersion === "2.10.10"
|
||||||
? selectedCardClasses
|
? selectedCardClasses
|
||||||
: "cursor-pointer"
|
: "cursor-pointer"
|
||||||
}
|
}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setConfig({ ...config, ckanVersion: "2.10.9" });
|
setConfig({ ...config, ckanVersion: "2.10.10" });
|
||||||
}}
|
}}
|
||||||
></Card>
|
></Card>
|
||||||
</Cards>
|
</Cards>
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ export default function PresetsBuilderSection({
|
||||||
setConfig({
|
setConfig({
|
||||||
...config,
|
...config,
|
||||||
preset: "dathere-default",
|
preset: "dathere-default",
|
||||||
ckanVersion: "2.11.4",
|
ckanVersion: "2.11.5",
|
||||||
extensions: ["ckanext-scheming", "DataStore", "DataPusher+"],
|
extensions: ["ckanext-scheming", "DataStore", "DataPusher+"],
|
||||||
features: ["enable-ssh"],
|
features: ["enable-ssh"],
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ sudo chmod +x ./ckan-devstaller\n\n# Run ckan-devstaller script\n`;
|
||||||
const [command, setCommand] = useState("./ckan-devstaller");
|
const [command, setCommand] = useState("./ckan-devstaller");
|
||||||
const [config, setConfig] = useState<Config>({
|
const [config, setConfig] = useState<Config>({
|
||||||
preset: "ckan-only",
|
preset: "ckan-only",
|
||||||
ckanVersion: "2.11.4",
|
ckanVersion: "2.11.5",
|
||||||
extensions: [],
|
extensions: [],
|
||||||
features: [],
|
features: [],
|
||||||
});
|
});
|
||||||
|
|
|
||||||
7
docs/content/docs/changelog/0.3.3.mdx
Normal file
7
docs/content/docs/changelog/0.3.3.mdx
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: Changelog for ckan-devstaller v0.3.2 (2026-02-20)
|
||||||
|
---
|
||||||
|
|
||||||
|
## Update CKAN versions
|
||||||
|
|
||||||
|
Updates default CKAN versions to 2.11.5 and 2.10.10.
|
||||||
|
|
@ -22,9 +22,9 @@ skip_interactive=$2
|
||||||
|
|
||||||
if [ $preset == "dathere-default" ]; then
|
if [ $preset == "dathere-default" ]; then
|
||||||
if [ $skip_interactive == "skip-interactive" ]; then
|
if [ $skip_interactive == "skip-interactive" ]; then
|
||||||
./ckan-devstaller --ckan-version 2.11.4 --extensions ckanext-scheming DataStore DataPusher+ --features enable-ssh --skip-interactive
|
./ckan-devstaller --ckan-version 2.11.5 --extensions ckanext-scheming DataStore DataPusher+ --features enable-ssh --skip-interactive
|
||||||
else
|
else
|
||||||
./ckan-devstaller --ckan-version 2.11.4 --extensions ckanext-scheming DataStore DataPusher+ --features enable-ssh
|
./ckan-devstaller --ckan-version 2.11.5 --extensions ckanext-scheming DataStore DataPusher+ --features enable-ssh
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ $preset == "skip-interactive" ]; then
|
if [ $preset == "skip-interactive" ]; then
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ rm -rf README ckan-compose ahoy dpp_default_config.ini get-docker.sh permissions
|
||||||
ckan_version: if args.ckan_version.is_some() {
|
ckan_version: if args.ckan_version.is_some() {
|
||||||
args.ckan_version.unwrap()
|
args.ckan_version.unwrap()
|
||||||
} else {
|
} else {
|
||||||
"2.11.4".to_string()
|
"2.11.5".to_string()
|
||||||
},
|
},
|
||||||
sysadmin: default_sysadmin.clone(),
|
sysadmin: default_sysadmin.clone(),
|
||||||
extension_datastore: args
|
extension_datastore: args
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ pub fn question_ssh() -> Result<bool> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn question_ckan_version() -> Result<String> {
|
pub fn question_ckan_version() -> Result<String> {
|
||||||
let ckan_version_options: Vec<&str> = vec!["2.11.4", "2.10.9", "Other"];
|
let ckan_version_options: Vec<&str> = vec!["2.11.5", "2.10.10", "Other"];
|
||||||
let answer_ckan_version = Select::new(
|
let answer_ckan_version = Select::new(
|
||||||
"What CKAN version would you like to install? (optional)",
|
"What CKAN version would you like to install? (optional)",
|
||||||
ckan_version_options,
|
ckan_version_options,
|
||||||
|
|
@ -26,7 +26,7 @@ pub fn question_ckan_version() -> Result<String> {
|
||||||
if answer_ckan_version == "Other" {
|
if answer_ckan_version == "Other" {
|
||||||
Ok(
|
Ok(
|
||||||
Text::new("What CKAN version would you like to install? (optional)")
|
Text::new("What CKAN version would you like to install? (optional)")
|
||||||
.with_default("2.11.4")
|
.with_default("2.11.5")
|
||||||
.prompt()?,
|
.prompt()?,
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ pub fn step_intro() {
|
||||||
);
|
);
|
||||||
println!(
|
println!(
|
||||||
"This installer should assist in setting up {} from a source installation along with ckan-compose. If you have any issues, please report them at https://support.dathere.com or https://github.com/dathere/ckan-devstaller/issues.",
|
"This installer should assist in setting up {} from a source installation along with ckan-compose. If you have any issues, please report them at https://support.dathere.com or https://github.com/dathere/ckan-devstaller/issues.",
|
||||||
highlighted_text("CKAN 2.11.4")
|
highlighted_text("CKAN 2.11.5")
|
||||||
);
|
);
|
||||||
println!(
|
println!(
|
||||||
"\nYou may also learn more about ckan-devstaller at https://ckan-devstaller.dathere.com."
|
"\nYou may also learn more about ckan-devstaller at https://ckan-devstaller.dathere.com."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue