Skip to content

Commit 7ff0604

Browse files
committed
Move from templates to just replacing the tags
1 parent 8171d1b commit 7ff0604

File tree

17 files changed

+252
-410
lines changed

17 files changed

+252
-410
lines changed

.github/workflows/package-updater.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
updater:
16-
runs-on: windows-2019
16+
runs-on: windows-2022
1717
env:
1818
au_version: master
1919
au_push: true
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install Dependencies
4242
run: |
4343
Set-Service wuauserv -StartupType Manual
44-
choco install -f packages.config
44+
choco install -f --no-progress packages.config
4545
foreach ($module in (Import-PowerShellDataFile -Path requirements.psd1).RequiredModules) {Install-Module -Name $module -Force}
4646
shell: powershell
4747
- name: System information

KopiaUI/KopiaUI.nuspec

Lines changed: 68 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,86 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
33
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
44
<metadata>
5-
<id>{id}</id>
6-
<version>0.0</version>
5+
<id>KopiaUI</id>
6+
<version>0.20.1.20250611</version>
77

88
<title>Kopia UI</title>
9-
<authors>{authors}</authors>
9+
<authors>Kopia Builder [bot]</authors>
1010

1111

1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313

1414

15-
<projectUrl>{projectUrl}</projectUrl>
16-
<bugTrackerUrl>{projectSourceUrl}/issues</bugTrackerUrl>
17-
<projectSourceUrl>{githubUrl}</projectSourceUrl>
15+
<projectUrl>https://kopia.io</projectUrl>
16+
<bugTrackerUrl>https://github.com/kopia/kopia/issues</bugTrackerUrl>
17+
<projectSourceUrl>https://github.com/kopia/kopia/tree/v0.20.1</projectSourceUrl>
1818
<docsUrl>https://kopia.io/docs/</docsUrl>
1919
<mailingListUrl>https://kopia.discourse.group/</mailingListUrl>
20-
<iconUrl>{githubRawUrl}/{iconPath}</iconUrl>
20+
<iconUrl>https://raw.githubusercontent.com/kopia/kopia/v0.20.1/icons/kopia.svg</iconUrl>
2121

22-
<summary>{summary}</summary>
23-
<tags>{tags}</tags>
24-
<releaseNotes>{releaseNotes}</releaseNotes>
22+
<summary>Cross-platform backup tool for Windows, macOS &amp; Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.</summary>
23+
<tags>admin deduplication backup google-cloud-storage encryption cloud hacktoberfest</tags>
24+
<releaseNotes>
25+
### Command-Line Interface
2526

26-
<licenseUrl>{licenseUrl}</licenseUrl>
27-
<packageSourceUrl>{packageSourceUrl}</packageSourceUrl>
27+
* minor cleanups in diff tests ([#4594](https://github.com/kopia/kopia/issues/4594)) by Julio Lopez
2828

29-
<description>{description}</description>
29+
### Server
30+
31+
* fixed server-based notifications ([#4598](https://github.com/kopia/kopia/issues/4598)) by Jarek Kowalski
32+
33+
### Snapshots
34+
35+
* fixed snapshotting of \\server\share ([#4603](https://github.com/kopia/kopia/issues/4603)) by Jarek Kowalski
36+
* Remove checkpoints after a complete snapshot ([#4439](https://github.com/kopia/kopia/issues/4439)) by shniubobo
37+
38+
### Notifications
39+
40+
* fixed notification severities on snapshot creation ([#4604](https://github.com/kopia/kopia/issues/4604)) by Jarek Kowalski
41+
42+
### CI/CD
43+
44+
* enforce consistent formatting of KopiaUI code ([#4586](https://github.com/kopia/kopia/issues/4586)) by Jarek Kowalski
45+
46+
47+
### Graphical User Interface
48+
49+
* reformat code to 120 characters per line ([#338](https://github.com/kopia/htmlui/issues/338)) by Jarek Kowalski
50+
* fixed 'Set Policy' button ([#337](https://github.com/kopia/htmlui/issues/337)) by Jarek Kowalski
51+
* SMTP credentials should not be required ([#336](https://github.com/kopia/htmlui/issues/336)) by Jarek Kowalski
52+
* ignore exceptions when making incremental changes to the policy ([#335](https://github.com/kopia/htmlui/issues/335)) by Jarek Kowalski
53+
* report code coverage ([#334](https://github.com/kopia/htmlui/issues/334)) by Jarek Kowalski
54+
* globally apply prettier formatting ([#333](https://github.com/kopia/htmlui/issues/333)) by Jarek Kowalski
55+
</releaseNotes>
56+
57+
<licenseUrl>https://github.com/kopia/kopia/blob/master/LICENSE</licenseUrl>
58+
<packageSourceUrl>https://github.com/riedel/chocolatey-packages</packageSourceUrl>
59+
60+
<description><![CDATA[
61+
![Kopia](/icons/kopia.svg)
62+
[![Build Status](https://github.com/kopia/kopia/workflows/Build/badge.svg)](https://github.com/kopia/kopia/actions?query=workflow%3ABuild)
63+
[![Slack](https://img.shields.io/badge/discuss-slack-blue.svg)](https://slack.kopia.io/)
64+
[![GoDoc](https://godoc.org/github.com/kopia/kopia/repo?status.svg)](https://godoc.org/github.com/kopia/kopia/repo)
65+
[![Coverage Status](https://codecov.io/gh/kopia/kopia/branch/master/graph/badge.svg?token=CRK4RMRFSH)](https://codecov.io/gh/kopia/kopia)[![Go Report Card](https://goreportcard.com/badge/github.com/kopia/kopia)](https://goreportcard.com/report/github.com/kopia/kopia)
66+
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](/CODE_OF_CONDUCT.md)
67+
[![Docker Pulls](https://img.shields.io/docker/pulls/kopia/kopia)](https://hub.docker.com/r/kopia/kopia/tags?page=1&ordering=name)
68+
[![Downloads](https://img.shields.io/github/downloads/kopia/kopia/total.svg)](https://github.com/kopia/kopia/releases)
69+
[![Gurubase](https://img.shields.io/badge/Gurubase-Ask%20Kopia%20Guru-006BFF)](https://gurubase.io/g/kopia)
70+
71+
> _n._
72+
>
73+
> 1. _[copy, replica](https://en.wikipedia.org/wiki/Replica) (Polish)_
74+
> 2. _[lance, spear](https://en.wikipedia.org/wiki/Kopia)_
75+
> 3. _[fast and secure backup tool](https://kopia.io)_
76+
77+
78+
Kopia is a fast and secure open-source backup/restore tool that allows you to create [encrypted](https://kopia.io/docs/features/#end-to-end-zero-knowledge-encryption) snapshots of your data and save the snapshots to [remote or cloud storage](https://kopia.io/docs/features/#save-snapshots-to-cloud-network-or-local-storage) of your choice, [to network-attached storage or server](https://kopia.io/docs/features/#save-snapshots-to-cloud-network-or-local-storage), or [locally on your machine](https://kopia.io/docs/features/#save-snapshots-to-cloud-network-or-local-storage). Kopia does not 'image' your whole machine. Rather, Kopia allows you to backup/restore any and all files/directories that you deem are important or critical.
79+
80+
Kopia has both [CLI (command-line interface)](https://kopia.io/docs/features/#both-command-line-and-graphical-user-interfaces) and [GUI (graphical user interface)](https://kopia.io/docs/features/#both-command-line-and-graphical-user-interfaces) versions, making it the perfect tool for both advanced and regular users. You can read more about Kopia's unique [features](https://kopia.io/docs/features/) -- which include [compression](https://kopia.io/docs/features/#compression), [deduplication](https://kopia.io/docs/features/#backup-files-and-directories-using-snapshots), [end-to-end 'zero knowledge' encryption](https://kopia.io/docs/features/#end-to-end-zero-knowledge-encryption), and [error correction](https://kopia.io/docs/features/#error-correction) -- to get a better understanding of how Kopia works.
81+
82+
83+
]]></description>
3084

3185
<dependencies>
3286
<dependency id="chocolatey-core.extension" version="1.3" />

KopiaUI/KopiaUI.nuspec.in

Lines changed: 0 additions & 48 deletions
This file was deleted.

KopiaUI/update.ps1

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ function global:au_GetLatest {
2525
URL32 = $url
2626
ChecksumType32 = "sha512"
2727
Checksum32= ([System.Convert]::FromBase64String($latest.files[0].sha512) | ForEach-Object { "{0:X2}" -f $_ }) -join ""
28-
readmeUrl = $github.readme.download_url
2928
Version = $github.release.tag_name.substring(1)
3029
NuspecVersion = $Global:PackageVersion
31-
packageSourceUrl = 'https://github.com/' + ( global:git_getRepo )
30+
authors = $github.release_author.name
3231
projectUrl = $github.repo.homepage
33-
projectSourceUrl = $github.repo.html_url
34-
githubRawUrl = 'https://raw.githubusercontent.com/' + $github_repository + '/' + $github.release.tag_name
35-
githubUrl = 'https://github.com/' + $github_repository + '/tree/' + $github.release.tag_name
36-
releaseNotes = ( $github.release.body -split "`n" | Select-Object -skip 2 ) -join "`r`n"
37-
licenseUrl = $github.license.html_url
32+
bugTrackerUrl = $github.repo.html_url + '/issues'
33+
projectSourceUrl = 'https://github.com/' + $github_repository + '/tree/' + $github.release.tag_name
34+
iconUrl = $github.raw_url + '/icons/kopia.svg'
35+
readmeUrl = $github.readme.download_url
3836
summary = $github.repo.description
39-
authors = $github.release_author.name
4037
tags = 'admin ' + $github.topics
41-
iconPath = 'icons/kopia.svg'
38+
releaseNotes = ( $github.release.body -split "`n" | Select-Object -skip 2 ) -join "`r`n"
39+
licenseUrl = $github.license.html_url
40+
packageSourceUrl = 'https://github.com/' + ( global:git_getRepo )
41+
githubRawUrl= $github.raw_url
4242
}
4343
}
4444

SMathStudioDesktop/SMathStudioDesktop.nuspec

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
33
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
44
<metadata>
5-
<id>{id}</id>
6-
<version>0.0</version>
5+
<id>SMathStudioDesktop</id>
6+
<version>1.3.0.9126</version>
77

88
<title>SMath Studio</title>
99
<authors>Andrey Ivashov</authors>
@@ -42,9 +42,18 @@ Among its capabilities are:
4242
<iconUrl>https://en.smath.com/img/favicon.ico</iconUrl>
4343
<docsUrl>https://smath.com/wiki</docsUrl>
4444

45-
<packageSourceUrl>{packageSourceUrl}</packageSourceUrl>
45+
<packageSourceUrl>https://github.com/riedel/chocolatey-packages</packageSourceUrl>
4646

47-
<releaseNotes>{releaseNotes}</releaseNotes>
47+
<releaseNotes>### Improvements
48+
49+
- Suggestions logic is implemented to help users to use previously
50+
built-in File Type plug-ins moved outside of the standard software
51+
distribution package;
52+
- Page Setup dialog improved to allow selecting available substitutions
53+
from the dropdown lists for header and footer;
54+
- The non-SI nit unit of measurement added to the Luminance dimension;
55+
- Icelandic interface transation added.
56+
</releaseNotes>
4857

4958
<dependencies>
5059
<dependency id="chocolatey-core.extension" version="1.3" />

SMathStudioDesktop/SMathStudioDesktop.nuspec.in

Lines changed: 0 additions & 59 deletions
This file was deleted.

SMathStudioDesktop/update.ps1

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,28 +67,13 @@ function global:au_GetLatest {
6767

6868
}
6969

70-
function global:au_BeforeUpdate($package) {
70+
function global:au_BeforeUpdateHook($package) {
7171
$Latest.ChecksumType32 = 'sha256' # Not necessary, but just my preference to add it
7272
$Latest.Checksum32 = Get-RemoteChecksum $Latest.URL32 -Algorithm $Latest.ChecksumType32 -Headers $Latest.Options.Headers # You can omit the algorithm, the function will use sha256 by default
73-
$package.NuspecXml.package.metadata.ChildNodes|ForEach-Object { $cn=$_ ; $cn.innerText|select-String '{([A-Za-z_]*)}' -AllMatches| % {$_.matches.groups} | where-object {$_.Name -eq 1} | % {$cn.InnerText = $cn.InnerText -replace ("{"+$_.Value+"}"),$Latest[$_.Value]}}
7473
}
7574

75+
. "$PSScriptRoot\..\update_include.ps1"
7676

7777

78-
function global:au_SearchReplace {
79-
@{
80-
".\tools\chocolateyInstall.ps1" = @{
81-
"(^\s*checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
82-
"(^\s*url\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
83-
}
84-
}
85-
}
8678

87-
function global:au_AfterUpdate($package) {
8879

89-
}
90-
91-
if ($MyInvocation.InvocationName -ne 'x.') { # run the update only if script is not sourced
92-
Get-ChildItem -Filter "*.in" -Recurse | Copy-Item -Destination {$_.name -replace '.in$','' }
93-
update -ChecksumFor none
94-
}

browser-select/browser-select.nuspec

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
33
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
44
<metadata>
5-
<id>{id}</id>
6-
<version>0.0</version>
5+
<id>browser-select</id>
6+
<version>1.4.1</version>
77

8-
<title>Stream What You Hear (SWYH)</title>
9-
<authors>{authors}</authors>
8+
<title>Browser Select</title>
9+
<authors>Borhan Hafez</authors>
1010

1111

1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313

1414

15-
<projectUrl>{projectSourceUrl}</projectUrl>
16-
<bugTrackerUrl>{projectSourceUrl}/issues</bugTrackerUrl>
17-
<projectSourceUrl>{githubUrl}</projectSourceUrl>
18-
<iconUrl>{githubRawUrl}/BrowserSelect/bs.ico</iconUrl>
19-
<docsUrl>{githubUrl}/help/filters.md</docsUrl>
15+
<projectUrl>https://github.com/zumoshi/BrowserSelect</projectUrl>
16+
<bugTrackerUrl>https://github.com/zumoshi/BrowserSelect/issues</bugTrackerUrl>
17+
<projectSourceUrl>https://github.com/zumoshi/BrowserSelect/tree/</projectSourceUrl>
18+
<iconUrl>https://raw.githubusercontent.com/zumoshi/BrowserSelect/1.4.1/BrowserSelect/bs.ico</iconUrl>
19+
<docsUrl>https://github.com/zumoshi/BrowserSelect/tree//help/filters.md</docsUrl>
2020
<!--mailingListUrl></mailingListUrl-->
2121

22-
<summary>{summary}</summary>
23-
<tags>admin {tags}</tags>
24-
<releaseNotes>{releaseNotes}</releaseNotes>
22+
<summary>Browser Select is a utility to dynamically select the browser you want instead of just having one default for all links.</summary>
23+
<tags>admin windows browser select customization utility</tags>
24+
<releaseNotes>Thanks to [kthejoker](https://github.com/kthejoker) BrowserSelect loads faster than ever. Also, I finally fixed #52.</releaseNotes>
2525

26-
<licenseUrl>{licenseUrl}</licenseUrl>
27-
<packageSourceUrl>{packageSourceUrl}</packageSourceUrl>
26+
<licenseUrl>https://github.com/zumoshi/BrowserSelect/blob/master/LICENSE</licenseUrl>
27+
<packageSourceUrl>https://github.com/riedel/chocolatey-packages</packageSourceUrl>
2828

2929
<description>{description}</description>
3030

0 commit comments

Comments
 (0)