SHA256
1
0
forked from pool/juliaup

- Update to version 1.8.16:

* chore: Release juliaup version 1.8.16
  * Adjust README text
  * Update some names
  * Document installer command line args
  * chore: Release juliaup version 1.8.15
  * Update deps
  * Fix a warning
  * Add --channel option to self installer
  * Finish non-interactive install option
  * Add support for non-interactive install
  * add an ls alias for list
  * Add a comment
  * Purge the Fastly cache before downloading `versions.json`
  * Update version db
  * "Update Version DB": cc the user that triggered the workflow run
  * Update version db
  * Fix typo `uopdate` => `update` (#536)
  * Update version db
  * Update deps
- Remove 0000-fix-typo.patch. Fix already included in 1.8.16.

OBS-URL: https://build.opensuse.org/package/show/science/juliaup?expand=0&rev=69
This commit is contained in:
Soc Virnyl Estela 2023-01-04 01:21:36 +00:00 committed by Git OBS Bridge
parent 57f2de2077
commit aff2c243cd
7 changed files with 33 additions and 65 deletions

View File

@ -1,56 +0,0 @@
From 81addc626a5995f36f279e37022c354dc2a4fb4c Mon Sep 17 00:00:00 2001
From: Shayan Davoodi <52105833+shayandavoodii@users.noreply.github.com>
Date: Sun, 25 Dec 2022 22:42:27 +0330
Subject: [PATCH] Fix typo `uopdate` => `update` (#536)
---
src/command_selfupdate.rs | 8 ++++----
src/command_update.rs | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/command_selfupdate.rs b/src/command_selfupdate.rs
index e29d8ff4..93770692 100644
--- a/src/command_selfupdate.rs
+++ b/src/command_selfupdate.rs
@@ -11,7 +11,7 @@ pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> {
use crate::{get_juliaup_target, get_own_version};
update_version_db(paths)
- .with_context(|| "Failed to uopdate versions db.")?;
+ .with_context(|| "Failed to update versions db.")?;
let mut config_file =
load_mut_config_db(paths).with_context(|| "`selfupdate` command failed to load configuration db.")?;
@@ -77,7 +77,7 @@ pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> {
use windows::{core::Interface,Win32::{System::Console::GetConsoleWindow, UI::Shell::IInitializeWithWindow}};
update_version_db(paths)
- .with_context(|| "Failed to uopdate versions db.")?;
+ .with_context(|| "Failed to update versions db.")?;
let update_manager = windows::Services::Store::StoreContext::GetDefault()
.with_context(|| "Failed to get the store context.")?;
@@ -116,6 +116,6 @@ pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> {
#[cfg(not(any(feature = "windowsstore", feature = "selfupdate")))]
pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> {
update_version_db(paths)
- .with_context(|| "Failed to uopdate versions db.")?;
+ .with_context(|| "Failed to update versions db.")?;
Ok(())
-}
\ No newline at end of file
+}
diff --git a/src/command_update.rs b/src/command_update.rs
index 502fbcb0..ae2829e3 100644
--- a/src/command_update.rs
+++ b/src/command_update.rs
@@ -50,7 +50,7 @@ fn update_channel(config_db: &mut JuliaupConfig, channel: &String, version_db: &
pub fn run_command_update(channel: Option<String>, paths: &GlobalPaths) -> Result<()> {
update_version_db(paths)
- .with_context(|| "Failed to uopdate versions db.")?;
+ .with_context(|| "Failed to update versions db.")?;
let version_db =
load_versions_db(paths).with_context(|| "`update` command failed to load versions db.")?;

View File

@ -3,7 +3,7 @@
<param name="url">https://github.com/JuliaLang/juliaup</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">e52c0db</param>
<param name="revision">0a42faa</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:753a0d0efa3c04387c767a8305ca22354abbd10500211fdb008f9ada16eca01d
size 66848236

3
juliaup-1.8.16.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ef5437fcad3951e2591c03f476ef8c483465675072d2a205291e3f5fb901ac8
size 66824436

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Jan 04 00:30:24 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 1.8.16:
* chore: Release juliaup version 1.8.16
* Adjust README text
* Update some names
* Document installer command line args
* chore: Release juliaup version 1.8.15
* Update deps
* Fix a warning
* Add --channel option to self installer
* Finish non-interactive install option
* Add support for non-interactive install
* add an ls alias for list
* Add a comment
* Purge the Fastly cache before downloading `versions.json`
* Update version db
* "Update Version DB": cc the user that triggered the workflow run
* Update version db
* Fix typo `uopdate` => `update` (#536)
* Update version db
* Update deps
- Remove 0000-fix-typo.patch. Fix already included in 1.8.16.
-------------------------------------------------------------------
Mon Dec 26 06:17:39 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package juliaup
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@
%global latest_julia_version 1.8.3
Name: juliaup
Version: 1.8.14
Version: 1.8.16
Release: 0
Summary: Julia installer and version multiplexer
License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND ISC AND MIT AND MPL-2.0 AND MIT
@ -30,7 +30,6 @@ URL: https://github.com/JuliaLang/juliaup
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source2: cargo_config
Patch0: 0000-fix-typo.patch
BuildRequires: cargo-packaging
BuildRequires: rust+cargo

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1271299d502cd84c3c19670636f7d88497b3ed39a13470573264929f3736c521
size 34622316
oid sha256:0b3704eabb18f207cba9c80d1b75982f2c70ba7b32e189ea5ab5eeb081f929f7
size 34606104