[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-12-19 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/ubuntu-download-manager

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-12-19 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-download-manager -
0.3+14.04.20131219-0ubuntu1

---
ubuntu-download-manager (0.3+14.04.20131219-0ubuntu1) trusty; urgency=low

  [ Loïc Minier ]
  * Always honor UBUNTU_DOWNLOADER_DEBUG; we should consider switching
release builds to -UDEBUG, but this is too intrusive right now; LP:
#1240656. (LP: #1240656)

  [ Michael McCracken ]
  * change command for 'make check' to work when not in tree (LP:
#1249470). (LP: #1249470)

  [ Manuel de la Pena ]
  * Fix a number of logging problems found when we went to production.
(LP: #1240656, #1241009, #1241005, #1240967)
  * Move download ids to be strings, that way applications have more
predictable ways to connect to the current downloads. At the moment
only not confined apps can use predictable ids. (LP: #1234965)
  * Group all system related files under the same dir.
  * Moved all downloads related to the same directory.
  * Renamed the DownloadDaemon to Daemon to remove the redundancy in the
name.
  * Rename DownloadFactory to Factory to remove the redundancy in the
name.
  * Rename the DownloaderQueue to Queue to remove the redundancy in the
name.
  * Rename DownloadManager to Manager to remove the name redundancy.
  * Rename SIngleDownlaod to FileDownload so that it makes more sense.
  * Start using namespaces planning ahead when we have a client library.
  * Add the use of a new namespace for system realted classes.
  * Sort the files under the test project so that working on it is
simpler.
  * Add documentation about the state machine to be used for the
downloads and its initial skeleton.
  * Ensure that finished is raised when the group download is empty.
(LP: #1245597)
  * Allow to pass the path of the service to be started so that it is
easier to test. (LP: #1195657)
  * Create the download state machine and add the states defined in the
docs diagram.
  * Provide a processing signal for when the downloading is done and a
process is being executed. (LP: #1248770)
  * Provide setters and getters for the daemon command line args. Added
self signed ssl certs for testing purposes. (LP: #1249336)
  * Add the header transitions. There is not yet nothing done because
parsing the header info for the attachment name is harder than
expected.
  * Ensure that group downloads do not allow two same local paths in the
same group. (LP: #1250181)
  * Remove all the checks against NULL before calling delete. (LP:
#1250409)
  * Remove the not needed pimpl pattern from the DBusConnection class.
(LP: #1251008)
  * Remove the pimpl patter from the Application class. (LP: #1251003)
  * Add the transitions for the init state.
  * Added the downloading state transitions.
  * Remove the pimpl patter from the system network info. Because pimpl
is out we can use the new signal connection. (LP: #1250946)
  * Remove the use of the pimpl pattern in the factory object because is
not needed. Fix some issues with the tests after the change. (LP:
#1250927)
  * Added downloading not connected state transitions.
  * Remove the pimpl pattern from the ProcessFactory. (LP: #1251269)
  * Remove pimpl from apparmor because it is a class that will not be
shared outside the project and therefore it does not need it. (LP:
#1250999)
  * Remove the not needed pimpl pattern in the RequestFactory class.
(LP: #1251294)
  * Added the paused state transitions.
  * Added paused not connected state transitions.
  * Added the downloaded state transitions.
  * Added hashing state transitions.
  * Add post processing state transitions.
  * Remove the pimpl pattern from the manager class because it is not
exposed to any other project via headers. (LP: #1251885)
  * Keep track of the state in the state machine so that tests are
easier to perform.
  * Add tests to ensure that the state machine works as expected. A
number of new transitions have been added to pass the tests because
they were missing.
  * Remove the not needed pimpl patter from the Timer class. (LP:
#1251312)
  * Remove pimpl pattern from the Process class. (LP: #1251183)
  * Remove pimpl implementation from the NetworkReply object. Moved
signals to use new way to connect. (LP: #1250990)
  * Remove the pimpl pattern from the DownloadsDb because that class
will never be exposed to other projects. (LP: #1255932)
  * Move the XML files to the docs folder. (LP: #1257280)
  * Remove the pimpl pattern from the base download class. (LP:
#1253045)
  * Remove the pimpl pattern from the group download class. (LP:
#1253045)
  * Remove the pimpl implementation from the file download so that we
have a simpler implementation.
  * Do not use the namespace inside the macro so that we fix the issue
where the method is not known because the struct is not recognized.
(LP: #1260729)
  * Remove the pimpl pattern from the Queue since it is a class not to
be 

[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-12-19 Thread Manuel de la Peña
** Changed in: ubuntu-download-manager
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-27 Thread Barry Warsaw
** Changed in: ubuntu-system-image
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-27 Thread Barry Warsaw
** Changed in: system-image (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-17 Thread PS Jenkins bot
Fix committed into lp:ubuntu-download-manager at revision 173, scheduled
for release in ubuntu-download-manager, milestone 0.3

** Changed in: ubuntu-download-manager
   Status: Confirmed = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-16 Thread Vincent Ladeuil
 Yeah, -vv would have spewed much more logging output to your console
:).

Works for me, I only use the cmdline when I feel the UI is lying in some
wa, so -vv it is.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-13 Thread Vincent Ladeuil
I bricked my phone while trying to update it with system upgrade on the
phone (via the UI, not via 'adb shell system-image-cli -c trusty-
proposed -b 0 -v).

I was running image #15 at the time.

I failed to upgrade to image #20 (~260M wow) with an undecipherable
error message (mainly because the file name displayed was too long).

Since the progress bar behavior was a bit... surprising (went over 100,
~110, oops, let's get back to ~90) I tried again, same error.

After several attempts, trying to keep the phone from suspending and
watching the progress bar going backwards even before reaching  100, I
resigned (I didn't have IRC access at that point to get some feedback).

Later in the day, image #17 was proposed. Huh ? Still missing IRC access
I thought some bug was detected server side and the images were re-
shuffled and happily tried that.

The download went well, I tapped the install  restart... rebooted to
the google logo and it's still there :-/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-13 Thread Vincent Ladeuil
Following popey instructions I got the device un-bricked:

$ adb reboot-bootloader
$  fastboot flash boot trusty-preinstalled-boot-armhf+mako.img

image downloaded from http://cdimage.ubuntu.com/ubuntu-touch/daily-
preinstalled/20131107.1/trusty-preinstalled-boot-armhf+mako.img

rebooting the device

That gave me a functional #17 image.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-13 Thread Vincent Ladeuil
From imgae #17, the UI stayed at the spinning 'checking for updates' for
as long as I could wait (at least 10 minutes), so I went with:

# adb shell system-image-cli -c trusty-proposed -b 0 -v
[systemimage] Nov 13 10:47:19 2013 (5513) running state machine 
[trusty-proposed/mako]
[systemimage] Nov 13 10:47:19 2013 (5513) Looking for blacklist: 
https://system-image.ubuntu.com/gpg/blacklist.tar.xz
[systemimage] Nov 13 10:47:20 2013 (5513) Requesting group download:
https://system-image.ubuntu.com/gpg/blacklist.tar.xz - 
/var/lib/system-image/keyring.tar.xz
https://system-image.ubuntu.com/gpg/blacklist.tar.xz.asc - 
/var/lib/system-image/keyring.tar.xz.asc

[systemimage] Nov 13 10:47:20 2013 (5513) Running group download reactor
[systemimage] Nov 13 10:47:31 2013 (5513) Group download reactor done
[systemimage] Nov 13 10:47:31 2013 (5513) Local blacklist file: 
/var/lib/system-image/blacklist.tar.xz
[systemimage] Nov 13 10:47:31 2013 (5513) Looking for: 
https://system-image.ubuntu.com/channels.json
[systemimage] Nov 13 10:47:31 2013 (5513) Requesting group download:
https://system-image.ubuntu.com/channels.json - 
/tmp/system-image-z9hrkv/channels.json
https://system-image.ubuntu.com/channels.json.asc - 
/tmp/system-image-z9hrkv/channels.json.asc

[systemimage] Nov 13 10:47:31 2013 (5513) Running group download reactor
[systemimage] Nov 13 10:47:32 2013 (5513) Group download reactor done
[systemimage] Nov 13 10:47:32 2013 (5513) Local channels file: 
/tmp/system-image-z9hrkv/channels.json
[systemimage] Nov 13 10:47:32 2013 (5513) got channel: trusty-proposed
[systemimage] Nov 13 10:47:32 2013 (5513) found channel/device entry: 
trusty-proposed/mako
[systemimage] Nov 13 10:47:32 2013 (5513) Requesting group download:
https://system-image.ubuntu.com/trusty-proposed/mako/index.json - 
/tmp/system-image-z9hrkv/index.json
https://system-image.ubuntu.com/trusty-proposed/mako/index.json.asc - 
/tmp/system-image-z9hrkv/index.json.asc

[systemimage] Nov 13 10:47:32 2013 (5513) Running group download reactor
[systemimage] Nov 13 10:47:32 2013 (5513) Group download reactor done
[systemimage] Nov 13 10:47:33 2013 (5513) Upgrade path is 20
[systemimage] Nov 13 10:47:33 2013 (5513) Requesting group download:

http://system-image.ubuntu.com/pool/ubuntu-918c4fd296961d2c273658540f8072cfe03d57d5fdc97b750073f7daa0149987.tar.xz
 - 
/android/cache/recovery/ubuntu-918c4fd296961d2c273658540f8072cfe03d57d5fdc97b750073f7daa0149987.tar.xz

http://system-image.ubuntu.com/pool/ubuntu-918c4fd296961d2c273658540f8072cfe03d57d5fdc97b750073f7daa0149987.tar.xz.asc
 - 
/android/cache/recovery/ubuntu-918c4fd296961d2c273658540f8072cfe03d57d5fdc97b750073f7daa0149987.tar.xz.asc

http://system-image.ubuntu.com/pool/device-0e42c8ad6c2174c9f3fa4a580a620e57b9df4b3c0aed54b425f4e2990ad4f6f7.tar.xz
 - 
/android/cache/recovery/device-0e42c8ad6c2174c9f3fa4a580a620e57b9df4b3c0aed54b425f4e2990ad4f6f7.tar.xz

http://system-image.ubuntu.com/pool/device-0e42c8ad6c2174c9f3fa4a580a620e57b9df4b3c0aed54b425f4e2990ad4f6f7.tar.xz.asc
 - 
/android/cache/recovery/device-0e42c8ad6c2174c9f3fa4a580a620e57b9df4b3c0aed54b425f4e2990ad4f6f7.tar.xz.asc
http://system-image.ubuntu.com/trusty-proposed/mako/version-20.tar.xz 
- /android/cache/recovery/version-20.tar.xz

http://system-image.ubuntu.com/trusty-proposed/mako/version-20.tar.xz.asc - 
/android/cache/recovery/version-20.tar.xz.asc

[systemimage] Nov 13 10:47:33 2013 (5513) Running group download reactor
[systemimage] Nov 13 10:54:17 2013 (5513) Group download reactor done
[systemimage] Nov 13 10:54:31 2013 (5513) all files available in 
/android/cache/recovery
[systemimage] Nov 13 10:54:31 2013 (5513) preparing to reboot
[systemimage] Nov 13 10:54:31 2013 (5513) rebooting

Note that the 7 minutes without feedback almost triggered a bah, broken
somehow, let's reboot which get delayed because I was typing this
comment ;)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-13 Thread Barry Warsaw
On Nov 13, 2013, at 09:57 AM, Vincent Ladeuil wrote:

Note that the 7 minutes without feedback almost triggered a bah, broken
somehow, let's reboot which get delayed because I was typing this
comment ;)

Yeah, -vv would have spewed much more logging output to your console :).

The problem here is that s-i really isn't doing much at this point.  It's
asked udm to download a bunch of files and all it's doing is passing through
the progress signals it gets from udm's D-Bus API.  -vv shows you all those
progress signals.  -v does not, but then it's also not showing much progress
on the command line.

I've thought about trying to do some occasional progress output when a single
-v is used, but haven't come up with a good idea yet.  If you have thoughts,
or even a wish list, please open a new bug just for this.

P.S. The ui wait for 10 minutes will be solved with s-i 2.0.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-system-image/ubuntu-system-image/client.pkg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1250181] Re: Duplicate files in winning path should prevent updates

2013-11-12 Thread Barry Warsaw
** Changed in: ubuntu-system-image
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1250181

Title:
  Duplicate files in winning path should prevent updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1250181/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs