cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7904) Built nightly releases using coho
Date Wed, 18 May 2016 12:05:12 GMT

    [ https://issues.apache.org/jira/browse/CB-7904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15288855#comment-15288855
] 

ASF GitHub Bot commented on CB-7904:
------------------------------------

GitHub user daserge opened a pull request:

    https://github.com/apache/cordova-coho/pull/123

    CB-7904 Update version format to include SHA and use UTC date

    Updating as per [discussion](https://github.com/cordova/cordova-discuss/pull/47#discussion_r63589276).
    Not including `attempt` as this should be a rare case and it only affects `semver.sort`
(i.e. `<package_id>@<next_version>-nightly.<build_date>.<commit_SHA>`
> `<package_id>@<next_version>-nightly.<build_date>.<attempt>.<commit_SHA>`),
which we are not using now.
    In case a nightly will be needed to re-published multiple times a date it should be possible
to unpublish the old one (in 24 hours period) - else it will be another date so an `attempt`
suffix will not be needed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-coho CB-7904

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-coho/pull/123.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #123
    
----
commit 8742d58c5e310a3a0191005540c70c5fb74f49c7
Author: daserge <v-seshak@microsoft.com>
Date:   2016-05-18T11:51:41Z

    CB-7904 Update version format to include SHA and use UTC date

----


> Built nightly releases using coho
> ---------------------------------
>
>                 Key: CB-7904
>                 URL: https://issues.apache.org/jira/browse/CB-7904
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CLI, Coho, CordovaLib
>            Reporter: Steve Gill
>            Assignee: Steve Gill
>
> I am working on adding a new command: ```coho nightly```
> How it works:
> 1) Update repos for all platforms + cli + lib to latest commits
> 2) grab commit hash for every platform and save it to shas.json in the cli repo
> 3) Replace version field in cordova-lib/src/cordova/platformsConfig.json (formally platforms.js)
for each platform with the sha. 
> 4) Update versions of cli + lib to remove `-dev` and add `-night.YEAR.MONTH.DAY`
> 5) Run `npm test` for cli + lib
> 6) Publish to npm under nightly tag.
> 7) Install with `npm install -g cordova@nightly`
> Using updated cli + tools, you would have to do `cordova platform add --usegit` when
adding platforms now.
> This script would run once a day. Set it up as a cron job on some server.
> Nothing will be committed back, no branches, no tags. 
> PR incoming



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message