Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(autoupdate): Archive older versions #30

Merged
merged 54 commits into from
Apr 3, 2021
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
10a5dc6
feat(checkver): Archive older versions
Ash258 May 21, 2020
de37c27
autoupdate
Ash258 May 21, 2020
2862ffe
auto-pr progress
Ash258 May 21, 2020
6d4d2b4
todos
Ash258 May 21, 2020
0872de3
scoop-install wrapper
Ash258 May 21, 2020
02df524
exclude supporting from tests
Ash258 May 22, 2020
5588aa2
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Aug 21, 2020
bd1a9aa
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Aug 23, 2020
46b8284
old version lookup
Ash258 Aug 23, 2020
5e3401e
remove checkver/autoupdate from archived manifests
Ash258 Aug 23, 2020
c42ea04
Merge branch 'NEW' of https://github.com/Ash258/Scoop-Core into autou…
Ash258 Aug 30, 2020
e0a10d8
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Sep 5, 2020
dfb71bd
Merge branch 'NEW' of https://github.com/Ash258/Scoop-Core into autou…
Ash258 Sep 12, 2020
ec5418b
List available versions in info command
Ash258 Sep 12, 2020
3f34087
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Oct 23, 2020
c68131d
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Oct 26, 2020
6ef9430
refactor: Application information file
Ash258 Nov 12, 2020
f656c00
passtru
Ash258 Nov 12, 2020
b2d76b8
not needed
Ash258 Nov 12, 2020
dc9d49f
finish
Ash258 Nov 14, 2020
b334030
imports
Ash258 Nov 15, 2020
78788fc
todo
Ash258 Nov 15, 2020
89c81f8
todo
Ash258 Nov 15, 2020
5bef92b
refactor: Application information file (#76)
Ash258 Nov 15, 2020
6c5b4be
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Nov 15, 2020
a99e903
consistency
Ash258 Nov 15, 2020
0f42c97
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Dec 1, 2020
e337127
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Dec 5, 2020
4a3f534
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Jan 29, 2021
1a14d8b
Merge commit 'ee16a8143ebf3fcaeca3b51db38c2ad1e57552d1' into autoupda…
Ash258 Feb 13, 2021
fd7ddbe
Merge commit 'da8b4dde1dcd1a1661744ed22bcedc0d9e1f9c63' into autoupda…
Ash258 Feb 13, 2021
d7d9837
Merge commit 'e342149253629eb52591083dbb149c86ea96784b' into autoupda…
Ash258 Feb 13, 2021
088dc8f
Merge commit '5aae9d0abd25b52c10aaaa68c30bc7c584d65b9e' into autoupda…
Ash258 Feb 13, 2021
5d03822
Merge commit 'ac012d0a15de4d12b1edaf56703a04da306a2a32' into autoupda…
Ash258 Feb 13, 2021
2a9e2d5
Merge commit '8982dadda4f757033335da78f266b1a93e523917' into autoupda…
Ash258 Feb 13, 2021
8d694ed
Merge commit '247c68542136a7453a96b8eb1d8c6304b6d7bab5' into autoupda…
Ash258 Feb 13, 2021
b17bc24
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Mar 19, 2021
9cc0a2c
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Mar 28, 2021
ec8045f
ch [ci skip]
Ash258 Mar 28, 2021
dceec36
Merge branch 'NEW' of github.com:Ash258/Scoop-Core into autoupdateArc…
Ash258 Apr 1, 2021
612e1e6
limit only valid manifest files
Ash258 Apr 1, 2021
af33214
general extension
Ash258 Apr 1, 2021
8a98ebd
appname_from_url
Ash258 Apr 1, 2021
cd39ad9
add tests for appname_from_url
Ash258 Apr 1, 2021
637334b
select only 1 archived manifest
Ash258 Apr 1, 2021
bc56b2b
chain
Ash258 Apr 1, 2021
e1cf45e
lets see
Ash258 Apr 1, 2021
d4c18e0
Skip not needed git calls when archiving is not enabled
Ash258 Apr 2, 2021
f602928
keep only autoupdate
Ash258 Apr 2, 2021
789b48b
ready [ci skip]
Ash258 Apr 2, 2021
0facc71
typo [ci skip]
Ash258 Apr 2, 2021
1de808a
simpl
Ash258 Apr 2, 2021
e491b3b
small lint
Ash258 Apr 2, 2021
f276bb9
Do not archive when generating user manifest
Ash258 Apr 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
passtru
  • Loading branch information
Ash258 committed Nov 12, 2020
commit f656c00fe0fc6f3a582517c0f544354ef9f8ed1e
9 changes: 7 additions & 2 deletions lib/Applications.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ function Set-InstalledApplicationInformationProperty {
[Switch] $Global,
[String[]] $Property,
[Object[]] $Value,
[Switch] $Update
[Switch] $Update,
[Switch] $PassThru
)

begin {
Expand Down Expand Up @@ -83,7 +84,11 @@ function Set-InstalledApplicationInformationProperty {

end {
$appDirectory = versiondir $AppName $Version $Global
$info | ConvertToPrettyJson | Out-UTF8File -Path (Join-Path $appDirectory 'scoop-install.json')
if ($PassThru) {
return $info
} else {
$info | ConvertToPrettyJson | Out-UTF8File -Path (Join-Path $appDirectory 'scoop-install.json')
}
}
}

Expand Down