Skip to content

Commit 50208f8

Browse files
authored
Merge pull request #120 from 45Drives/ncr_306843
Ncr 306843
2 parents 278fc89 + 3c8d8c5 commit 50208f8

File tree

10 files changed

+28
-21
lines changed

10 files changed

+28
-21
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## Cockpit File Sharing 4.2.5-2
1+
## Cockpit File Sharing 4.2.6-1
22

3-
* iscsi release
3+
* Fix bug where only first instance of was inspected while looking for

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ sudo apt install cockpit-file-sharing
3838
### Direct from .deb
3939
Installing this way may work for other versions of Ubuntu and Debian, but it is unsupported. You won't get automatic updates this way.
4040
```bash
41-
curl -LO https://github.com/45Drives/cockpit-file-sharing/releases/download/v4.1.0/cockpit-file-sharing_4.1.0-1focal_all.deb
42-
sudo apt install ./cockpit-file-sharing_4.1.0-1focal_all.deb
41+
curl -LO https://github.com/45Drives/cockpit-file-sharing/releases/download/v4.2.6/cockpit-file-sharing_4.2.6-1focal_all.deb
42+
sudo apt install ./cockpit-file-sharing_4.2.6-1focal_all.deb
4343
```
4444
## Rocky 8
4545
### From 45Drives Repo (Recommended, Rocky 8 only)
@@ -51,7 +51,7 @@ sudo dnf install cockpit-file-sharing
5151
Installing this way may work for other versions of Rocky/Centos/RHEL/Fedora/etc, but it is unsupported. You won't get automatic updates this way.
5252
```bash
5353
# dnf or yum
54-
sudo dnf install https://github.com/45Drives/cockpit-file-sharing/releases/download/v4.1.0/cockpit-file-sharing-4.1.0-1.el8.noarch.rpm
54+
sudo dnf install https://github.com/45Drives/cockpit-file-sharing/releases/download/v4.2.6/cockpit-file-sharing-4.2.6-1.el8.noarch.rpm
5555
```
5656
## Generic Installation
5757
1. Install Dependencies
@@ -81,9 +81,9 @@ samba-common-tools
8181
```
8282
2. Download pre-built archive and install
8383
```bash
84-
curl -LO https://github.com/45Drives/cockpit-file-sharing/releases/download/v4.1.0/cockpit-file-sharing_4.1.0_generic.zip
85-
unzip cockpit-file-sharing_4.1.0_generic.zip
86-
cd cockpit-file-sharing_4.1.0_generic
84+
curl -LO https://github.com/45Drives/cockpit-file-sharing/releases/download/v4.2.6/cockpit-file-sharing_4.2.6_generic.zip
85+
unzip cockpit-file-sharing_4.2.6_generic.zip
86+
cd cockpit-file-sharing_4.2.6_generic
8787
# no need to run `make` first, the plugin is pre-built
8888
sudo make install
8989
```

file-sharing/src/tabs/iSCSI/ui/screens/radosBlockDeviceManagement/RBDDeviceCreationScreen.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
</template>
7676

7777
<script setup lang="ts">
78-
import ByteInput from "@45drives/houston-common/houston-common-ui/lib/components/ByteInput.vue";
7978
import { Pool } from "@/tabs/iSCSI/types/cluster/Pool";
8079
import type { ISCSIDriverClusteredServer } from "@/tabs/iSCSI/types/drivers/ISCSIDriverClusteredServer";
8180
import type { ProcessError } from "@45drives/houston-common-lib";
@@ -91,6 +90,7 @@ import {
9190
validationSuccess,
9291
validationError,
9392
wrapActions,
93+
ByteInput,
9494
} from "@45drives/houston-common-ui";
9595
import { ok, ResultAsync, safeTry } from "neverthrow";
9696
import { inject, ref, type Ref } from "vue";

file-sharing/src/tabs/iSCSI/ui/screens/radosBlockDeviceManagement/RBDExpansionScreen.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
<script setup lang="ts">
3434
import { RadosBlockDevice } from "@/tabs/iSCSI/types/cluster/RadosBlockDevice";
3535
import { LogicalVolume } from "@/tabs/iSCSI/types/cluster/LogicalVolume";
36-
import { CardContainer, InputLabelWrapper, useTempObjectStaging, validationError, ValidationResultView, ValidationScope, validationSuccess, wrapActions } from "@45drives/houston-common-ui";
36+
import { CardContainer, InputLabelWrapper, useTempObjectStaging, validationError, ValidationResultView, ValidationScope, validationSuccess, wrapActions, ByteInput } from "@45drives/houston-common-ui";
3737
import { ResultAsync, okAsync } from "neverthrow";
38-
import ByteInput from "@45drives/houston-common/houston-common-ui/lib/components/ByteInput.vue";
3938
import { inject, ref } from "vue";
4039
import type { ISCSIDriverClusteredServer } from "@/tabs/iSCSI/types/drivers/ISCSIDriverClusteredServer";
4140
import type { ProcessError } from "@45drives/houston-common-lib";

file-sharing/src/tabs/iSCSI/ui/screens/virtualDevice/FileIOCreationPrompt.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ import {
3737
CardContainer, InputLabelWrapper, pushNotification, Notification, useTempObjectStaging, validationError, ValidationResultView,
3838
ValidationScope,
3939
validationSuccess,
40-
wrapActions
40+
wrapActions,
41+
ByteInput,
4142
} from "@45drives/houston-common-ui";
42-
import ByteInput from "@45drives/houston-common/houston-common-ui/lib/components/ByteInput.vue";
4343
import { ref } from "vue";
4444
4545
const _ = cockpit.gettext;
@@ -80,4 +80,4 @@ const { validationResult: fileSizeValidationResult } = validationScope.useValida
8080
8181
return validationSuccess();
8282
});
83-
</script>
83+
</script>

file-sharing/src/tabs/samba/samba-manager.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ export class SambaManager implements ISambaManager {
230230
return new File(this.server, smbConfPath)
231231
.assertExists()
232232
.andThen((smbConf) => smbConf.read())
233-
.andThen(IniSyntax({ duplicateKey: "ignore" }).apply)
234-
.map((smbConf) => smbConf.global?.include === "registry");
233+
.andThen(IniSyntax({ duplicateKey: "append" }).apply)
234+
.map((smbConf) => [smbConf.global?.include ?? []].flat().includes("registry"));
235235
}
236236

237237
patchSmbConfIncludeRegistry(smbConfPath: string) {

manifest.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"name": "cockpit-file-sharing",
44
"title": "Cockpit File Sharing",
55
"prerelease": false,
6-
"version": "4.2.5",
7-
"buildVersion": "2",
6+
"version": "4.2.6",
7+
"buildVersion": "1",
88
"author": "Josh Boudreau <[email protected]>",
99
"url": "https://github.com/45Drives/cockpit-file-sharing",
1010
"category": "utils",
@@ -65,8 +65,8 @@
6565
],
6666
"changelog": {
6767
"urgency": "medium",
68-
"version": "4.2.5",
69-
"buildVersion": "2",
68+
"version": "4.2.6",
69+
"buildVersion": "1",
7070
"ignore": [],
7171
"date": null,
7272
"packager": "Josh Boudreau <[email protected]>",

packaging/el8/main.spec

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ make DESTDIR=%{buildroot} install
2727
/usr/share/cockpit/file-sharing/*
2828

2929
%changelog
30+
* Fri Nov 15 2024 Joshua Boudreau <[email protected]> 4.2.6-1
31+
- Fix bug where only first instance of was inspected while looking for
3032
* Thu Oct 31 2024 Josh Boudreau <[email protected]> 4.2.5-2
3133
- iscsi release
3234
* Mon Oct 28 2024 Brandon Kelly <[email protected]> 4.2.5-1

packaging/focal/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
cockpit-file-sharing (4.2.6-1focal) focal; urgency=medium
2+
3+
* Fix bug where only first instance of was inspected while looking for
4+
5+
-- Joshua Boudreau <[email protected]> Fri, 15 Nov 2024 12:22:25 -0400
6+
17
cockpit-file-sharing (4.2.5-2focal) focal; urgency=medium
28

39
* iscsi release

0 commit comments

Comments
 (0)