mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
Merge branch 'next/patch' of github.com:Start9Labs/start-os into next/minor
This commit is contained in:
@@ -41,6 +41,7 @@ qemu-guest-agent
|
|||||||
rsync
|
rsync
|
||||||
samba-common-bin
|
samba-common-bin
|
||||||
smartmontools
|
smartmontools
|
||||||
|
socat
|
||||||
sqlite3
|
sqlite3
|
||||||
squashfs-tools
|
squashfs-tools
|
||||||
sudo
|
sudo
|
||||||
|
|||||||
2
core/Cargo.lock
generated
2
core/Cargo.lock
generated
@@ -4577,7 +4577,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "start-os"
|
name = "start-os"
|
||||||
version = "0.3.5-rev.1"
|
version = "0.3.5-rev.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes",
|
"aes",
|
||||||
"async-compression",
|
"async-compression",
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ keywords = [
|
|||||||
name = "start-os"
|
name = "start-os"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/Start9Labs/start-os"
|
repository = "https://github.com/Start9Labs/start-os"
|
||||||
version = "0.3.5-rev.1"
|
version = "0.3.5-rev.2"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ use crate::Error;
|
|||||||
|
|
||||||
mod v0_3_5;
|
mod v0_3_5;
|
||||||
mod v0_3_5_1;
|
mod v0_3_5_1;
|
||||||
|
mod v0_3_5_2;
|
||||||
mod v0_3_6;
|
mod v0_3_6;
|
||||||
|
|
||||||
pub type Current = v0_3_6::Version;
|
pub type Current = v0_3_6::Version;
|
||||||
@@ -20,6 +21,7 @@ enum Version {
|
|||||||
LT0_3_5(LTWrapper<v0_3_5::Version>),
|
LT0_3_5(LTWrapper<v0_3_5::Version>),
|
||||||
V0_3_5(Wrapper<v0_3_5::Version>),
|
V0_3_5(Wrapper<v0_3_5::Version>),
|
||||||
V0_3_5_1(Wrapper<v0_3_5_1::Version>),
|
V0_3_5_1(Wrapper<v0_3_5_1::Version>),
|
||||||
|
V0_3_5_2(Wrapper<v0_3_5_2::Version>),
|
||||||
V0_3_6(Wrapper<v0_3_6::Version>),
|
V0_3_6(Wrapper<v0_3_6::Version>),
|
||||||
Other(emver::Version),
|
Other(emver::Version),
|
||||||
}
|
}
|
||||||
@@ -39,6 +41,7 @@ impl Version {
|
|||||||
Version::LT0_3_5(LTWrapper(_, x)) => x.clone(),
|
Version::LT0_3_5(LTWrapper(_, x)) => x.clone(),
|
||||||
Version::V0_3_5(Wrapper(x)) => x.semver(),
|
Version::V0_3_5(Wrapper(x)) => x.semver(),
|
||||||
Version::V0_3_5_1(Wrapper(x)) => x.semver(),
|
Version::V0_3_5_1(Wrapper(x)) => x.semver(),
|
||||||
|
Version::V0_3_5_2(Wrapper(x)) => x.semver(),
|
||||||
Version::V0_3_6(Wrapper(x)) => x.semver(),
|
Version::V0_3_6(Wrapper(x)) => x.semver(),
|
||||||
Version::Other(x) => x.clone(),
|
Version::Other(x) => x.clone(),
|
||||||
}
|
}
|
||||||
@@ -208,6 +211,7 @@ pub async fn init(db: &PatchDb) -> Result<(), Error> {
|
|||||||
}
|
}
|
||||||
Version::V0_3_5(v) => v.0.migrate_to(&Current::new(), &db).await?,
|
Version::V0_3_5(v) => v.0.migrate_to(&Current::new(), &db).await?,
|
||||||
Version::V0_3_5_1(v) => v.0.migrate_to(&Current::new(), &db).await?,
|
Version::V0_3_5_1(v) => v.0.migrate_to(&Current::new(), &db).await?,
|
||||||
|
Version::V0_3_5_2(v) => v.0.migrate_to(&Current::new(), &db).await?,
|
||||||
Version::V0_3_6(v) => v.0.migrate_to(&Current::new(), &db).await?,
|
Version::V0_3_6(v) => v.0.migrate_to(&Current::new(), &db).await?,
|
||||||
Version::Other(_) => {
|
Version::Other(_) => {
|
||||||
return Err(Error::new(
|
return Err(Error::new(
|
||||||
@@ -242,6 +246,7 @@ mod tests {
|
|||||||
prop_oneof![
|
prop_oneof![
|
||||||
Just(Version::V0_3_5(Wrapper(v0_3_5::Version::new()))),
|
Just(Version::V0_3_5(Wrapper(v0_3_5::Version::new()))),
|
||||||
Just(Version::V0_3_5_1(Wrapper(v0_3_5_1::Version::new()))),
|
Just(Version::V0_3_5_1(Wrapper(v0_3_5_1::Version::new()))),
|
||||||
|
Just(Version::V0_3_5_2(Wrapper(v0_3_5_2::Version::new()))),
|
||||||
em_version().prop_map(Version::Other),
|
em_version().prop_map(Version::Other),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
29
core/startos/src/version/v0_3_5_2.rs
Normal file
29
core/startos/src/version/v0_3_5_2.rs
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
use emver::VersionRange;
|
||||||
|
|
||||||
|
use super::v0_3_5::V0_3_0_COMPAT;
|
||||||
|
use super::{v0_3_5_1, VersionT};
|
||||||
|
use crate::prelude::*;
|
||||||
|
|
||||||
|
const V0_3_5_2: emver::Version = emver::Version::new(0, 3, 5, 2);
|
||||||
|
|
||||||
|
#[derive(Clone, Debug)]
|
||||||
|
pub struct Version;
|
||||||
|
|
||||||
|
impl VersionT for Version {
|
||||||
|
type Previous = v0_3_5_1::Version;
|
||||||
|
fn new() -> Self {
|
||||||
|
Version
|
||||||
|
}
|
||||||
|
fn semver(&self) -> emver::Version {
|
||||||
|
V0_3_5_2
|
||||||
|
}
|
||||||
|
fn compat(&self) -> &'static VersionRange {
|
||||||
|
&V0_3_0_COMPAT
|
||||||
|
}
|
||||||
|
async fn up(&self, _db: &PatchDb) -> Result<(), Error> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
async fn down(&self, _db: &PatchDb) -> Result<(), Error> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "startos-ui",
|
"name": "startos-ui",
|
||||||
"version": "0.3.5.1",
|
"version": "0.3.5.2",
|
||||||
"author": "Start9 Labs, Inc",
|
"author": "Start9 Labs, Inc",
|
||||||
"homepage": "https://start9.com/",
|
"homepage": "https://start9.com/",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": null,
|
"name": null,
|
||||||
"ack-welcome": "0.3.5.1",
|
"ack-welcome": "0.3.5.2",
|
||||||
"marketplace": {
|
"marketplace": {
|
||||||
"selected-url": "https://registry.start9.com/",
|
"selected-url": "https://registry.start9.com/",
|
||||||
"known-hosts": {
|
"known-hosts": {
|
||||||
|
|||||||
@@ -12,11 +12,11 @@
|
|||||||
<ion-content class="ion-padding">
|
<ion-content class="ion-padding">
|
||||||
<h2>This Release</h2>
|
<h2>This Release</h2>
|
||||||
|
|
||||||
<h4>0.3.5.1</h4>
|
<h4>0.3.5.2</h4>
|
||||||
<p class="note-padding">
|
<p class="note-padding">
|
||||||
View the complete
|
View the complete
|
||||||
<a
|
<a
|
||||||
href="https://github.com/Start9Labs/start-os/releases/tag/v0.3.5.1"
|
href="https://github.com/Start9Labs/start-os/releases/tag/v0.3.5.2"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
noreferrer
|
noreferrer
|
||||||
>
|
>
|
||||||
@@ -32,6 +32,19 @@
|
|||||||
|
|
||||||
<h2>Previous 0.3.5.x Releases</h2>
|
<h2>Previous 0.3.5.x Releases</h2>
|
||||||
|
|
||||||
|
<h4>0.3.5.1</h4>
|
||||||
|
<p class="note-padding">
|
||||||
|
View the complete
|
||||||
|
<a
|
||||||
|
href="https://github.com/Start9Labs/start-os/releases/tag/v0.3.5.1"
|
||||||
|
target="_blank"
|
||||||
|
noreferrer
|
||||||
|
>
|
||||||
|
release notes
|
||||||
|
</a>
|
||||||
|
for more details.
|
||||||
|
</p>
|
||||||
|
|
||||||
<h4>0.3.5</h4>
|
<h4>0.3.5</h4>
|
||||||
<p class="note-padding">
|
<p class="note-padding">
|
||||||
View the complete
|
View the complete
|
||||||
|
|||||||
@@ -18,9 +18,10 @@ export module Mock {
|
|||||||
shuttingDown: false,
|
shuttingDown: false,
|
||||||
}
|
}
|
||||||
export const MarketplaceEos: RR.GetMarketplaceEosRes = {
|
export const MarketplaceEos: RR.GetMarketplaceEosRes = {
|
||||||
version: '0.3.5.1',
|
version: '0.3.5.2',
|
||||||
headline: 'Our biggest release ever.',
|
headline: 'Our biggest release ever.',
|
||||||
releaseNotes: {
|
releaseNotes: {
|
||||||
|
'0.3.5.2': 'Some **Markdown** release _notes_ for 0.3.5.2',
|
||||||
'0.3.5.1': 'Some **Markdown** release _notes_ for 0.3.5.1',
|
'0.3.5.1': 'Some **Markdown** release _notes_ for 0.3.5.1',
|
||||||
'0.3.4.4': 'Some **Markdown** release _notes_ for 0.3.4.4',
|
'0.3.4.4': 'Some **Markdown** release _notes_ for 0.3.4.4',
|
||||||
'0.3.4.3': 'Some **Markdown** release _notes_ for 0.3.4.3',
|
'0.3.4.3': 'Some **Markdown** release _notes_ for 0.3.4.3',
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export const mockPatchData: DataModel = {
|
|||||||
arch: 'x86_64',
|
arch: 'x86_64',
|
||||||
onionAddress: 'myveryownspecialtoraddress',
|
onionAddress: 'myveryownspecialtoraddress',
|
||||||
id: 'abcdefgh',
|
id: 'abcdefgh',
|
||||||
version: '0.3.5.1',
|
version: '0.3.5.2',
|
||||||
lastBackup: new Date(new Date().valueOf() - 604800001).toISOString(),
|
lastBackup: new Date(new Date().valueOf() - 604800001).toISOString(),
|
||||||
lanAddress: 'https://adjective-noun.local',
|
lanAddress: 'https://adjective-noun.local',
|
||||||
torAddress: 'https://myveryownspecialtoraddress.onion',
|
torAddress: 'https://myveryownspecialtoraddress.onion',
|
||||||
|
|||||||
Reference in New Issue
Block a user