Commit Graph

23 Commits

Author SHA1 Message Date
JonLiu1993
1143d75d55
[date] Fix uninitialized values (#23710)
* [date] Fix uninitialized values

* update version

* add notes for patch

* update version
2022-04-05 11:18:28 -07:00
Max
febf337ad8
[date] update sha to be lowercase for windows installs (#21922)
* [date] update sha to be lowercase for windows installs

* add version

* update version

Co-authored-by: Max Christy <mchristy@precisionplanting.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-12-09 17:01:00 -08:00
chausner
d91e4ed055
[date] Update to 3.0.1 (#20481)
* Update date to 3.0.1

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-05 16:16:05 -07:00
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
Long Nguyen
e2fc73ec5c
[date] Fix vcpkg_fixup_cmake_targets for mingw (#15994)
* [date] Fix vcpkg_fixup_cmake_targets for mingw

* [vcpkg baseline] Update date port-version

* [date] Tweak Windows detection

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* [vcpkg baseline] Update date port-version again

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2021-02-03 11:40:02 -08:00
Jack·Boos·Yu
6718a4a703
[date] Fix config.cmake and usage (#12739)
* [date] Fix config.cmake and usage

* Correct fix

* Remove wrapper and usage
2020-08-07 11:44:42 -07:00
Jack·Boos·Yu
2c280eed42
[date] Update to 3.0.0 (#11968) 2020-06-23 13:37:41 -07:00
Alexej Harm
b8f5c26e85 [date] update to latest version
[date] added cmake 3.14 backwards compatibility patch
2019-11-21 09:28:56 +01:00
Alexej Harm
d4ac078952 [date] Add official CMake targets support (#8151) 2019-09-17 11:39:29 -07:00
Phoebe
02f5ef72a2 [date] fix issue 6530 (#7399) 2019-07-24 10:20:15 -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
muriukip
0e7d61f18b Vcpkg update Howard Hinnant [date] port to latest (#6501)
* Update vcpkg to include latest version of HowardHinnant-date code. To
fix windowsZones.xml URL change.

* [date] Update to ed0368fc75427ef05cefdf19a39b60d7bed2f039 from
HowardHinnant/date

* Revert "[date] Update to ed0368fc75427ef05cefdf19a39b60d7bed2f039 from"

This reverts commit 1d71b07aec.

* [date] Update to ed0368fc75427ef05cefdf19a39b60d7bed2f039 from HowardHinnant/date
2019-05-17 11:13:22 -07:00
NancyLi1013
bed4a4c9c0 [date] Update the version to the latest commit. (#6131) 2019-04-29 02:42:35 -07:00
LarryIII
e33ffb6f90 [date] Fix failures in UWP with latest commit (#5932) 2019-04-03 22:16:09 -07:00
Robert Schumacher
0764aafbd0 [abseil][aws-sdk-cpp][breakpad][chakracore][cimg][date][exiv2][libzip][rs-core-lib] Upgrades 2018-04-12 23:32:09 -07:00
Robert Schumacher
600f7fdf30 [date] Fix Linux&OSX, add unofficial targets 2018-04-12 23:32:06 -07:00
Alisayyy-Yang
32d62b2bfd Fix date issue 2018-02-12 01:50:04 -08:00
Vitaliy Parinov
60fb59ce4d [date] Update to 2.4 cont. (removed DATE_BUILD_LIB usages) 2018-01-12 05:50:19 +03:00
Vitaliy Parinov
bfc50d8ee2 Update HowardHinnant/date to 2.4 2018-01-11 08:46:08 +03:00
Alexander Karatarakis
22d015073f [date] Update. Resolves #2222 2017-11-22 14:58:39 -08:00
Alexander Karatarakis
6b6fa2ab37 [date] Update to 2.3 2017-11-17 15:57:59 -08:00
atkawa7
a1c3bd230a [date] Howard HInnant date utils init 2017-08-31 16:06:18 -07:00
atkawa7
675323c45c [date] init port 2017-08-15 12:47:23 -07:00