You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Teppo Kurki (JIRA)" <ji...@apache.org> on 2008/11/13 10:06:44 UTC

[jira] Created: (BUILDR-212) Snapshot update support

Snapshot update support
-----------------------

                 Key: BUILDR-212
                 URL: https://issues.apache.org/jira/browse/BUILDR-212
             Project: Buildr
          Issue Type: Improvement
            Reporter: Teppo Kurki


Buildr should be able to update snapshot versions of artefacts.

http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Izzet Mustafa (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Izzet Mustafa updated BUILDR-212:
---------------------------------

    Attachment:     (was: BUILDR-212.update_snapshot_support.patch)

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (BUILDR-212) Snapshot update support

Posted by "Izzet Mustafa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891037#action_12891037 ] 

Izzet Mustafa edited comment on BUILDR-212 at 7/22/10 5:28 AM:
---------------------------------------------------------------

Found an issue - buildr tries to update regular artifact if it is installing this is expected functionality according to specs but seems need to rewrite method for downloading artifact to not break existing artifact. I'm going to provide a patch with this fix for 1.4.2

      was (Author: webdizz):
    Found an issue - buildr tries to update regular artifact if it is older then expiration time this is expected functionality according to specs but seems need to rewrite method for downloading artifact to not break existing artifact. I'm going to provide a patch with this fix for 1.4.2
  
> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-212) Snapshot update support

Posted by "Timo Rantalaiho (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662817#action_12662817 ] 

Timo Rantalaiho commented on BUILDR-212:
----------------------------------------

Sometimes you want to explicitly avoid all network traffic,
for example when working in a train with an expensive and
slow 3G connection. I suppose that "false" in your idea does
nearly that.

Thanks for the comments! It would be great if someone could 
improve the patch (or make the improved changes in Buildr), 
I'm fresh back from holidays with a long backlog of things 
and my lack of Ruby skills makes producing good code slow or 
impossible :)



> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>         Attachments: BUILDR-212-update_snapshots_support_3.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Timo Rantalaiho (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Rantalaiho updated BUILDR-212:
-----------------------------------

    Attachment:     (was: BUILDR-212-update_snapshots_support_2.patch)

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>         Attachments: BUILDR-212-update_snapshots_support_3.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated BUILDR-212:
---------------------------------

    Fix Version/s: 1.4.2
                       (was: Wish List)

Marking for 1.4.2 since we have a patch with specs;  we should at least review it.

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-212) Snapshot update support

Posted by "Izzet Mustafa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891037#action_12891037 ] 

Izzet Mustafa commented on BUILDR-212:
--------------------------------------

Found an issue - buildr tries to update regular artifact if it is older then expiration time this is expected functionality according to specs but seems need to rewrite method for downloading artifact to not break existing artifact. I'm going to provide a patch with this fix for 1.4.2

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Izzet Mustafa oglu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Izzet Mustafa oglu updated BUILDR-212:
--------------------------------------

    Attachment: BUILDR-212.update_snapshot_support.patch

I've upload a patch to provide support for snapshots which includes Timo's patch with my enhancements and specs for all related stuff.
Patch contains following features:
- offline mode
- update-snapshot mode
- default expiration time period for one day with configuration property (settings.yaml or build.yaml) to override this value
- support for downloading snapshot to temporary path with later relocation

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>             Fix For: Wish List
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Izzet Mustafa (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Izzet Mustafa updated BUILDR-212:
---------------------------------

    Attachment: BUILDR-212.update_snapshot_support.patch
                BUILDR-212.update_snapshot_support.specs.patch

This is a patch to fix problem with breaking existed artifact when it is older then expiration time (by default 24hours) and keep supporting to update snapshots and installable artifacts from local paths.


> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch, BUILDR-212.update_snapshot_support.specs.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-212) Update support for SNAPSHOT artifacts

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-212.
----------------------------------

    Resolution: Fixed

Patch applied with stylistic updates and one functional change:  the installation of SNAPSHOT artifacts is no different than other artifacts.   SNAPSHOT artifacts are installed if the source file (presumably in the project) is newer than the target file (in the local repository).  The expire_time is not considered during installation as originally intended in the patch.

boisvert@smudge:~/svn/buildr-snapshot$ svn commit -m "BUILDR-212 Update support for SNAPSHOT artifacts (Timo Rantalaiho and Izzet Mustafa)" .
Sending        CHANGELOG
Sending        lib/buildr/core/application.rb
Sending        lib/buildr/packaging/artifact.rb
Sending        spec/packaging/artifact_spec.rb
Transmitting file data ....
Committed revision 998386.


> Update support for SNAPSHOT artifacts
> -------------------------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch, BUILDR-212.update_snapshot_support.specs.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Update support for SNAPSHOT artifacts

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated BUILDR-212:
---------------------------------

    Summary: Update support for SNAPSHOT artifacts  (was: Snapshot update support)

> Update support for SNAPSHOT artifacts
> -------------------------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch, BUILDR-212.update_snapshot_support.specs.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated BUILDR-212:
---------------------------------

    Fix Version/s:     (was: 1.3.4)
                   1.4

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>             Fix For: 1.4
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-212) Snapshot update support

Posted by "Teppo Kurki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647231#action_12647231 ] 

Teppo Kurki commented on BUILDR-212:
------------------------------------

Manual task for removing SNAPSHOT dependencies from local cache looks like this in our project:

    common_dependencies(:drop_excluded => false).select {|item| item.index('SNAPSHOT') } \
      .collect {|item| artifact(item) }.each {|artifact| rm(artifact.to_s) if artifact.exist? }

We have externalized dependencies to a separate dependencies.txt that common_dependencies parses.



> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Timo Rantalaiho (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Rantalaiho updated BUILDR-212:
-----------------------------------

    Attachment: BUILDR-212-update_snapshots_support_3.patch

A yet better version with less buggy needed? method (thanks Teemu!) and cleaner way of forming the temporary file name for download.

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>         Attachments: BUILDR-212-update_snapshots_support_3.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-212) Update support for SNAPSHOT artifacts

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910920#action_12910920 ] 

Hudson commented on BUILDR-212:
-------------------------------

Integrated in Buildr-ci-build #121 (See [https://hudson.apache.org/hudson/job/Buildr-ci-build/121/])
    

> Update support for SNAPSHOT artifacts
> -------------------------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch, BUILDR-212.update_snapshot_support.specs.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (BUILDR-212) Snapshot update support

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert reassigned BUILDR-212:
------------------------------------

    Assignee: Alex Boisvert

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch, BUILDR-212.update_snapshot_support.patch, BUILDR-212.update_snapshot_support.specs.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-212) Snapshot update support

Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660988#action_12660988 ] 

Assaf Arkin commented on BUILDR-212:
------------------------------------

Smart idea to use needed? from invoke and then have needed? do the deciding.

URI.download should download to a temporary file and then move the file over if the download is complete, so there's no need to duplicate that functionality.

I don't understand what offline is good for? I know Maven has that option, but the maven UI is not well thought out. Really what you want to do is control snapshot download, so why not have an environment variable with three options:

- true (or yes): refresh all snapshots (regardless of age).
- false (or no): don't refresh any snapshot, but do download missing artifacts (snapshot or not).
- nil (default): refresh snapshots older than one day.

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>         Attachments: BUILDR-212-update_snapshots_support_3.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Timo Rantalaiho (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Rantalaiho updated BUILDR-212:
-----------------------------------

    Attachment: BUILDR-212-update_snapshots_support.patch

Here's a simplistic patch ( BUILDR-212-update_snapshots_support.patch ) that does two things

1) If a dependency contains SNAPSHOT in its version and is older than one day, it's downloaded again whenever it will be used
2) If a dependency contains SNAPSHOT in its version and the option -u (--update-snapshots) is given, it's downloaded again whenever it will be used

One thing that's not very wise is that I had to add removing the file to be downloaded in Artifact.download before downloading. This causes the obvious problem that if the dependency was downloaded earlier but is now not found in remote repositories, it will be deleted :) So downloading should just be able to overwrite  an existing file, but I didn't have time to investigate how to do that.

Other thing that's still missing are the specs and updating the old specs, these ones fail with the patch

Rake::Task artifacts
- should download all specified artifacts (ERROR - 1)
- should fail if failed to download an artifact (FAILED - 2)
- should succeed if artifact already exists (FAILED - 3)

I looked at the specs briefly but they went way over my Ruby-noob head :)

It would be great if someone could finish this and that it could be applied to Ruby! This is one of the most important things missing now that downloading dependency sources is in.

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>         Attachments: BUILDR-212-update_snapshots_support.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Timo Rantalaiho (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Rantalaiho updated BUILDR-212:
-----------------------------------

    Attachment:     (was: BUILDR-212-update_snapshots_support.patch)

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>         Attachments: BUILDR-212-update_snapshots_support_2.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Timo Rantalaiho (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Rantalaiho updated BUILDR-212:
-----------------------------------

    Attachment: BUILDR-212-update_snapshots_support_2.patch

A better version of the patch that 
1) Does not delete existing files before downloading, but first downloads the file to a temporary location and then mv's it over to the local repository
2) Provides an option -o (--offline) that does not try to download anything at all, including the snapshot update.

Specs are still missing.

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>         Attachments: BUILDR-212-update_snapshots_support_2.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-212) Snapshot update support

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated BUILDR-212:
----------------------------------

    Fix Version/s:     (was: 1.4)
                   Wish List

> Snapshot update support
> -----------------------
>
>                 Key: BUILDR-212
>                 URL: https://issues.apache.org/jira/browse/BUILDR-212
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Teppo Kurki
>             Fix For: Wish List
>
>         Attachments: BUILDR-212-update_snapshots_support_3.patch
>
>
> Buildr should be able to update snapshot versions of artefacts.
> http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/200811.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.