[Group.of.nepali.translators] [Bug 1593390] Re: Need better error handling in the parser

2016-07-01 Thread Mathew Hodson
** No longer affects: Ubuntu Xenial

** No longer affects: Ubuntu Yakkety

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1593390

Title:
  Need better error handling in the parser

Status in Snapcraft:
  Fix Released

Bug description:
  1. Don't use .get() to access wiki entry data.
  2. Raise exceptions to the top of the stack and log warnings.

  [Impact]

   * The parts origin will often change, and some changes might cause
  errors.

   * Better error messages will make it easier to fix the problems in
  the source.

  [Test Case]

   * Add an invalid wiki entry.
   * Run snapcraft-parser
   * Make sure that an error is printed, but that it's not fatal and the rest 
of the entries are properly parsed.

  [Regression Potential]

   * snapcraft-parse is relatively new. Some other use cases could be
  affected, so extensive exploratory is required here.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1593390/+subscriptions

___
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp


[Group.of.nepali.translators] [Bug 1593390] Re: Need better error handling in the parser

2016-06-28 Thread Sergio Schvezov
** Changed in: snapcraft
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1593390

Title:
  Need better error handling in the parser

Status in Snapcraft:
  Fix Released
Status in The Xenial Xerus:
  New
Status in The Yakkety Yak:
  New

Bug description:
  1. Don't use .get() to access wiki entry data.
  2. Raise exceptions to the top of the stack and log warnings.

  [Impact]

   * The parts origin will often change, and some changes might cause
  errors.

   * Better error messages will make it easier to fix the problems in
  the source.

  [Test Case]

   * Add an invalid wiki entry.
   * Run snapcraft-parser
   * Make sure that an error is printed, but that it's not fatal and the rest 
of the entries are properly parsed.

  [Regression Potential]

   * snapcraft-parse is relatively new. Some other use cases could be
  affected, so extensive exploratory is required here.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1593390/+subscriptions

___
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp