pmr

~stub/pmr:snapcraft

Last commit made on 2016-08-02
Get this branch:
git clone -b snapcraft https://git.launchpad.net/~stub/pmr
Only Stuart Bishop can upload to this branch. If you are Stuart Bishop please log in for upload directions.

Branch merges

Branch information

Name:
snapcraft
Repository:
lp:~stub/pmr

Recent commits

ad85190... by Stuart Bishop

Basic snap packaging

ecaeb98... by Zygmunt Krynicki

Remove extra comments

Signed-off-by: Zygmunt Krynicki <email address hidden>

837c139... by Zygmunt Krynicki

Fix support for private git repositories

Private git repositories are not accessible over https. We need to use
the git+ssh URLs for them instead.

Signed-off-by: Zygmunt Krynicki <email address hidden>

a1ffa28... by Zygmunt Krynicki

Add experimental feedback to git merges

This patch adds experimental feedback to each merged git branch. Upon
initiation of the merge, a comment is added to let the user know that
pmr is actively looking at merge request.

Following that, preparations are made (clones/fetches) and if they fail
an error is logged (but nothing is mentioned in the merge request yet as
the issue may be temporary).

Next a merge is attempted, if it fails an appropriate comment is added
and (with the vote of 'needs fixing') and the whole proposal is reverted
from approved to needs reviewed.

If the merge works, tests are started (optionally). Again if they fail
an appropriate comment is added and the merge proposal is updated.

Finally we try to push the branch, if that fails we just fail silently
as the whole process will begin again and this might be a transient
failure.

Signed-off-by: Zygmunt Krynicki <email address hidden>

6f03abe... by Zygmunt Krynicki

Tweak logging so that it's more useful by default

With this patch, logging is really only displayed (by default) when
something interesting is happening. This makes it possible to observe
merges as they happen, without having to scroll back to find them.

Signed-off-by: Zygmunt Krynicki <email address hidden>

5541bd2... by Zygmunt Krynicki

Loop natively and use authenticated logins

This patch makes the tool run forever, looping over all the projects
every minute. In addition, it now uses authenticated access as it will
sign-in as the user of the current machine. This makes it suitable to
process merge requests from a private project. The loop makes deployment
easier though there are still unsolved issues that prevent this from
really running as a service.

Signed-off-by: Zygmunt Krynicki <email address hidden>

26678e7... by Zygmunt Krynicki

Use proper attributes for rw/ro git repo URLs

This patch removes an earlier kludge that is no longer necessary.
Launchpad now exposes dedicated properties for read-write and read-only
URLs. We use those to figure out what to do.

Signed-off-by: Zygmunt Krynicki <email address hidden>

e4e7646... by Zygmunt Krynicki

Initial commit

Signed-off-by: Zygmunt Krynicki <email address hidden>