Billy O'Neal
|
b295670e4b
|
Bulk convert control files. (#19986)
```
function Convert-Control {
Param($full)
.\vcpkg.exe format-manifest $full
$root = $full.Substring(0, $full.Length - 7) # CONTROL
$new = $root + 'vcpkg.json'
$content = Get-Content -Raw $new
$asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
$oldVersion = $asJson['port-version']
if ($null -eq $oldVersion) {
$oldVersionFull = $asJson['version-string']
Write-Host "Got version $oldVersionFull"
$match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
$newFullVersion = [string]$match.Groups[1].Value
$oldVersion = [int]$match.Groups[2].Value
Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
$newVersion = $oldVersion + 1
$asJson['version-string'] = $newFullVersion
Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
} else {
Write-Host "No previous version for $full -- setting 1"
$newVersion = 1
}
} else {
$newVersion = [int]$oldVersion + 1
Write-Host "New version for $full : $newVersion"
}
$asJson['port-version'] = $newVersion
$content = ConvertTo-Json $asJson -Depth 100
Set-Content -Path $new -Value $content
.\vcpkg.exe format-manifest $new
}
Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
Convert-Control $_.FullName
}
git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
|
2021-09-09 01:24:04 -07:00 |
|
Jackson
|
00934eec90
|
[doctest] Update to v2.4.5 (#16121)
* Updated 'doctest' to v2.4.5
* Updated version for doctest to v2.4.5
Co-authored-by: Jackson Harmer <jackson.harmer@gm.com>
|
2021-02-08 13:34:09 -08:00 |
|
JonLiu1993
|
58ff68ae41
|
[doctest] update to 2.4.0 (#12239)
|
2020-07-06 12:27:14 -07:00 |
|
nicole mazzuca
|
047fa52aa2
|
[doctest] Update to version 2.3.7 (#10275)
|
2020-03-04 10:58:57 -08:00 |
|
AMS21
|
5e88eec627
|
[doctest] Update library to 2.3.6 (#9403)
|
2019-12-21 14:05:30 -08:00 |
|
Ehsan
|
e1f8504518
|
[doctest] Update library to 2.3.5 (#8295)
|
2019-09-23 10:35:03 -07:00 |
|
unknown
|
f71048c97d
|
[doctest] Update library to 2.3.4
|
2019-08-16 12:50:01 +04:30 |
|
myd7349
|
bc08706eec
|
[doctest] Update to 2.3.3 (#6998)
|
2019-06-24 13:36:40 -07:00 |
|
pravic
|
18b029a5e3
|
[WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
|
2019-06-15 16:54:47 -07:00 |
|
zhihaoy
|
1fab043632
|
[doctest] Update to 2.3.2 (#6331)
An critical fix to https://github.com/onqtam/doctest/issues/228
|
2019-05-07 12:46:45 -07:00 |
|
Daniel Marshall
|
5d875afa94
|
[doctest] Update to 2.3.1 (#5792)
|
2019-03-24 15:32:03 -07:00 |
|
kiwixz
|
7e8a854a99
|
[doctest] update to 2.2.3, export cmake config (#5386)
* [doctest] update to 2.2.3, export cmake config
* [doctest] do not build tests
|
2019-02-16 14:45:10 -08:00 |
|
Robert Schumacher
|
1207951b7b
|
Updates 2019.01.30
|
2019-02-12 17:38:31 -08:00 |
|
Robert Schumacher
|
bb1bb1c94a
|
Updates 2018.12.14
|
2019-01-09 12:27:19 -08:00 |
|
Robert Schumacher
|
c538d6d996
|
Upgrades 2018.10.25
|
2018-10-26 18:49:29 -07:00 |
|
Robert Schumacher
|
64a7483a4a
|
Upgrades 2018.09.18
|
2018-09-19 14:13:12 -07:00 |
|
Alexander Karatarakis
|
6ad96b7e7a
|
2018.05.17 updates
|
2018-05-17 22:56:05 -07:00 |
|
Robert Schumacher
|
96da24e716
|
[cimg][doctest][harfbuzz][libwebsockets] Upgrades
|
2018-03-11 11:52:35 -07:00 |
|
Robert Schumacher
|
e3dda1a82d
|
[azure-storage-cpp][cpp-redis][dirent][doctest][gdcm2][grpc][llvm][matio][spdlog][yaml-cpp] Upgrades
|
2018-02-23 03:27:04 -08:00 |
|
Robert Schumacher
|
26f12d20bb
|
[many ports] Updates to latest
|
2017-11-30 12:27:56 -08:00 |
|
Robert Schumacher
|
a8caf080b8
|
[doctest] Switch to using vcpkg_from_github to support --head
|
2017-05-18 20:04:44 -07:00 |
|
Viktor Kirilov
|
e3b6dde2fe
|
[doctest] update description in CONTROL file
|
2017-05-18 10:53:14 +03:00 |
|
Viktor Kirilov
|
516e05a579
|
[doctest] update port to version 1.2.0
|
2017-05-18 10:52:12 +03:00 |
|
Alexander Karatarakis
|
a1229417ef
|
[doctest] Mark as header-only library
|
2016-10-26 12:22:15 -07:00 |
|
Alexander Karatarakis
|
3679955544
|
Introduce SOURCE_PATH to almost all portfiles
|
2016-09-28 17:05:56 -07:00 |
|
Ninetainedo
|
930d0a7ded
|
URL and MIRRORS are now URLS
Updated all portfiles accordingly.
|
2016-09-25 00:23:04 +02:00 |
|
Ninetainedo
|
257e134ecf
|
Updated newly added portfiles to use SHA512
Updated doctest
Updated mpir
|
2016-09-22 22:20:40 +02:00 |
|
Albert Fong
|
1575974199
|
Add doctest 1.1.0
|
2016-09-21 23:02:02 -07:00 |
|