Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional updates try1 #399

merged 4 commits into from Oct 8, 2014


Copy link

tchx84 commented Oct 2, 2014

Extend microformat updater to be able to mark activities as optional
for automatic updates. Please consult the feature page for details:

tchx84 added 4 commits Aug 5, 2014
To mark an activity as optional in the microformat file, set
this field to 1. Anything different from 1 will be treated as
non-optional, which is the previous behaviour. Thus, this is
backwards compatible.

Extend _UpdateHTMLParser class so it can extract the
new optional field.

Signed-off-by: Martin Abente Lahaye <>
Extend BundleUpdate class to support this new field, so other
components of the updater can access this information.

Use this new field in MicroformatUpdater class by passing it
to BundleUpdate initializer.

Signed-off-by: Martin Abente Lahaye <>
Signed-off-by: Martin Abente Lahaye <>
All activities that have not been explicitly marked as optional
will be treated as non-optional. Therefore, these activities will
be selected in UI by default.

This peserves the previous behaviour, thus this is backwards

Signed-off-by: Martin Abente Lahaye <>
@walterbender walterbender merged commit 9f31c21 into sugarlabs:master Oct 8, 2014
1 check was pending
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.