Skip to content

Commit 4961db9

Browse files
committed
Use software packages with '.enc' extension instead of '.asc'
1 parent 83d3376 commit 4961db9

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.6.0 (2016-03-22)
4+
5+
* Use software packages with '.enc' extension instead of '.asc'
6+
37
## 1.5.0 (2015-09-26)
48

59
* Add endpoint to reboot the system

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ If you want to improve this application, please make a pull-request.
7575

7676
[MPL-2.0 License](LICENSE)
7777

78-
Copyright (c) 2015 Alexander Williams, Unscramble <[email protected]>
78+
Copyright (c) 2015-2016 Alexander Williams, Unscramble <[email protected]>

api/v1/admin/update/default

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License, v. 2.0. If a copy of the MPL was not distributed with this
33
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
44
#
5-
# Copyright (c) 2015 Alexander Williams, Unscramble <[email protected]>
5+
# Copyright (c) 2015-2016 Alexander Williams, Unscramble <[email protected]>
66

77
[de update-log (Lines)
88
(in (list 'tail "-n" Lines (pack *Admin_path "log/update.log")) (pack (replace (till (eof)) "^J" "\\n") ]
@@ -30,7 +30,7 @@
3030
(response-generic 202 Size Date Body '(("Location" . "/api/v1/admin/update") ("Content-Type" . "application/json")) ]
3131

3232
(de update-store (File)
33-
(call 'mv "-f" File (pack *Upload_path "software_package-zzz.asc"))
33+
(call 'mv "-f" File (pack *Upload_path "software_package-zzz.enc"))
3434
(update-vm) )
3535

3636
[de update-post ()

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ POST /api/v1/admin/update
137137
**Example**
138138

139139
```
140-
curl -X POST https://enterprise.vm:8443/api/v1/admin/update?token=yourtoken -F update=@software_update-v1.2.0.asc
140+
curl -X POST https://enterprise.vm:8443/api/v1/admin/update?token=yourtoken -F update=@software_update-v1.2.0.enc
141141
142142
HTTP/1.1 202 Accepted
143143
Location: /api/v1/admin/update

docs/NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ API Documentation licensing:
2121
https://github.com/thomaspark/bootswatch.git
2222

2323
* 'API Documentation' licensed under the MPL-2.0 License and
24-
Copyright (c) 2015 Alexander Williams, Unscramble
24+
Copyright (c) 2015-2016 Alexander Williams, Unscramble
2525
https://github.com/unscramble/jidoteki-admin-api.git

module.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[de MODULE_INFO
22
("name" "jidoteki-admin-api")
3-
("version" "1.5.0")
3+
("version" "1.6.0")
44
("summary" "Jidoteki Admin API")
55
("source" "https://jidoteki.com")
66
("author" "Alexander Williams")
77
("license" "MPL-2.0")
8-
("copyright" "(c) 2015 Alexander Williams, Unscramble <[email protected]>")
8+
("copyright" "(c) 2015-2016 Alexander Williams, Unscramble <[email protected]>")
99
("install" "make")
1010
("requires"
1111
("picolisp-unit" "v1.0.0" "https://github.com/aw/picolisp-unit.git")

0 commit comments

Comments
 (0)