cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shakhnazarov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-11275) Preserve 7 latest nightly versions
Date Fri, 20 May 2016 07:01:12 GMT

     [ https://issues.apache.org/jira/browse/CB-11275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Shakhnazarov resolved CB-11275.
--------------------------------------
    Resolution: Won't Fix

Current npm unpublish policy prevents this from being done:
https://github.com/cordova/cordova-discuss/pull/47#issuecomment-219692868

> Preserve 7 latest nightly versions
> ----------------------------------
>
>                 Key: CB-11275
>                 URL: https://issues.apache.org/jira/browse/CB-11275
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Coho
>            Reporter: Sergey Shakhnazarov
>            Assignee: Sergey Shakhnazarov
>
> {noformat}
> // Get the latest nightly,
> //   extract the date, compare with the current date
>     // (updating the current nightly) If the latest nightly has the same date,
>     //   unpublish it and append a suffix to the nightly version, for example:
>     // 1.0.2-nightly.2016.5.16+28033181 -> 1.0.2-nightly.2016.5.16.2+28324728
>     // 1.0.2-nightly.2016.5.16.2+28324728 -> 1.0.2-nightly.2016.5.16.3+NEXT_SHA
>     // (adding a new nightly to the list) If the latest nightly has a different date,
>     //   get npm view packageName versions,
>     //   filter them by nightly prefix,
>     //   get N (7) most recent versions (sort by date),
>     //   unpublish the older ones
> // publish new nightly build to npm under nightly tag
> {noformat}



--
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