public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Jeremiah Cox <jerecox@microsoft.com>
To: Laszlo Ersek <lersek@redhat.com>,
	"Brian J. Johnson" <brian.johnson@hpe.com>,
	stephano <stephano.cetola@linux.intel.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [edk2-announce] Research Request
Date: Wed, 5 Dec 2018 19:09:10 +0000	[thread overview]
Message-ID: <MWHPR21MB01766E7928D76BD5D8396A9AADA80@MWHPR21MB0176.namprd21.prod.outlook.com> (raw)
In-Reply-To: <0b2ce1b0-93ab-aef2-d192-23fd84024b70@redhat.com>

Hi Laszlo,
Regarding "comprehensive backup/archival functionality that is core to the service itself", are you speaking more to GitHub's internal metadata verbosity (e.g. not losing PR details when branches and repos are deleted), GitHub's backup strategy to prevent data loss, or the ability to export all of this data from GitHub?

I believe your PR experiments are exploring the first point about metadata verbosity.  We've done some experimentation of our own and have found the verbosity acceptable for us.

GitHub's internal backup strategy is published:
https://help.github.com/articles/github-security/#file-system-and-backups 

Regarding export, I discovered GitHub has a preview REST API dedicated to backup & archival.  GitHub will package up all of our metadata into a big tarball:
https://developer.github.com/v3/migrations/orgs/ 
At a glance it appears to be simple to use and comprehensive.

I trust that any so called "web bugs" in GitHub emails are not malicious.  

Thanks,
Jeremiah

-----Original Message-----
From: Laszlo Ersek <lersek@redhat.com> 
Sent: Tuesday, December 4, 2018 10:27 AM
To: Jeremiah Cox <jerecox@microsoft.com>; Brian J. Johnson <brian.johnson@hpe.com>; stephano <stephano.cetola@linux.intel.com>
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] [edk2-announce] Research Request

On 12/03/18 18:22, Jeremiah Cox wrote:
> Laszlo,
>
> Did you want to summarize your experience of our GitHub experiments?

That's right. I'll provide a summary below.

>  From your comments on the PRs, it sounded like the email  
> notifications did not provide the level of detail that you desire for  
> archival purposes.

That's correct.

> Stephano's email suggested that as long as we have an alternative 
> mechanism to archive all metadata, that may still be acceptable.

Indeed, that's what I think as well.

>  I propose that 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
> b.com%2Fjosegonzalez%2Fpython-github-backup&amp;data=02%7C01%7Cjerecox
> %40microsoft.com%7C39e7247ecd1946a67e9c08d65a160e80%7C72f988bf86f141af
> 91ab2d7cd011db47%7C1%7C0%7C636795448114734464&amp;sdata=OoS6nyB83BGn%2
> Bg%2BNnSA4AAsNqb3e6xjpHmR7LUvU98c%3D&amp;reserved=0
>  may suffice.

I didn't miss it when you first recommended this utility, in:

  https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flersek%2Fedk2%2Fpull%2F2%23issuecomment-443066812&amp;data=02%7C01%7Cjerecox%40microsoft.com%7C39e7247ecd1946a67e9c08d65a160e80%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636795448114734464&amp;sdata=edt3z5c7%2BDNTr%2BtkvHpUkEqCppG44B13WrvUkgPI0kY%3D&amp;reserved=0

I didn't respond explicitly because, when you made that suggestion, I had already stated on the edk2-devel list that external tools that aren't a core part of the service wouldn't cut it, for me anyway:

  https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmid.mail-archive.com%2F76cb4d25-7eff-b19b-0dd5-2fcc3a1e7d82%40redhat.com&amp;data=02%7C01%7Cjerecox%40microsoft.com%7C39e7247ecd1946a67e9c08d65a160e80%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636795448114734464&amp;sdata=L4eofdxURPR1HOy60ZcJW9KgE1ByPxIi09Y9slRbZ5w%3D&amp;reserved=0

On 11/27/18 13:53, Laszlo Ersek wrote:
> GitHub has extremely good availability. I doubt that any hack we could 
> come up with (and that we'd have to run ourselves, elsewhere), could 
> muster the same service level. This means that sooner or later our 
> mirroring hack would go down, while GitHub would stay up, and then 
> we'd start losing updates to our "mirror".
>
> The offline & full coverage audit trail has to be generated by a core 
> part of the service.

I don't know who "josegonzalez" is, whom he works for, what his interests are, what kind of support we can get from him (for his software), where and how we should run his software, what SLA we could get from the organization that actually runs "python-github-backup" for us, and so on.

To repeat, it suffices if we get *at least one* of
(a) comprehensive email notifications,
(b) comprehensive backup/archival functionality that is core to the
    service itself.

At this point, GitHub seems to provide zero of these.

(I'll also repeat that I agree that GitHub provides a *lot* of important and useful functionality in other areas. To me those areas are not
interchangeable.)

OK, so let me summarize my points, from:
- this thread,
- https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flersek%2Fedk2%2Fpull%2F1&amp;data=02%7C01%7Cjerecox%40microsoft.com%7C39e7247ecd1946a67e9c08d65a160e80%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636795448114734464&amp;sdata=xFMUbMuuj6FKA2zPMrKZ0MlSHeDIhYc0LDYpMJj92wo%3D&amp;reserved=0
- https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flersek%2Fedk2%2Fpull%2F2&amp;data=02%7C01%7Cjerecox%40microsoft.com%7C39e7247ecd1946a67e9c08d65a160e80%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636795448114734464&amp;sdata=STndRd8YrVmWDTehLH2R7RlduAXmC7x6v%2FvgCxUR0%2BU%3D&amp;reserved=0

On the plus side:

- It is possible to enable email notifications about one's own actions.

- It is possible to attach comments to specific lines of a patch.

- The "commits" button at the top gives a complete view, with subject
  line, commit message, code, and (optionally) review comments
  displayed.

- Rejecting a pull request does not make the HEAD of the proposed topic
  branch disappear; the commit reference from the PR keeps working.

- This remains true even if the originator (pull requester) repository
  is removed.

On the minus side:

- I couldn't attach comments to the commit message (in particular to
  specific lines of the commit message). As a stop-gap measure, I could
  make a general comment and refer to the commit message.

- When making a comment on a patch, it is unclear how "add single
  comment" differs from "start a review".

- Email notifications lack context. The notification does not name the
  commit (the subject line of the patch is not quoted, just the title of
  the PR), which is a problem if a series consists of multiple patches.
  In addition, trailing code context (that follows the review comment
  being sent out in email) is not cited in the email, only the preceding
  code context is. The commit message is also not quoted in the email.

- The email notifications contain "web bugs". My MUA warns that it
  blocks remote content while displaying these emails. The emails should
  be self-contained.

- Some questions remain unanswered about longevity of PR branches whose
  originating repos disappear:

  - How can a CLI user fetch the orphaned branch into a local clone of
    his/hers? The GitHub WebUI does not provide a "remote URL" for this.

  - Do such branches survive "git gc" (garbage collection) that GitHub
    surely runs periodically?

  - What happens if not only the originating repo is deleted, but the
    pull requestor's user account too?

I don't insist that others agree with me that these are "minuses"; I'm expressing my personal impressions. Furthermore, I have no idea at all whether other web-based development tools perform better in these areas.

Thanks!
Laszlo


  reply	other threads:[~2018-12-05 19:09 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-14 18:34 [edk2-announce] Research Request stephano
2018-11-20 23:47 ` Jeremiah Cox
2018-11-21  0:58   ` stephano
2018-11-26 21:43     ` Jeremiah Cox
2018-11-26 22:27       ` stephano
2018-11-27  9:33       ` Knop, Ryszard
2018-11-27 21:16         ` Jeremiah Cox
2018-11-27 22:23           ` Rebecca Cran
2018-11-28 18:19             ` Jeremiah Cox
2018-11-28 19:21               ` Rebecca Cran
2018-11-27 12:53       ` Laszlo Ersek
2018-11-27 21:55         ` Brian J. Johnson
2018-11-28 11:07           ` Laszlo Ersek
2018-11-28 18:31             ` Jeremiah Cox
2018-11-28 22:01               ` Laszlo Ersek
2018-11-29  1:07                 ` Jeremiah Cox
2018-11-29  9:48                   ` Laszlo Ersek
2018-11-29 21:20                     ` Rebecca Cran
2018-12-03  9:29                       ` Laszlo Ersek
2018-12-03 21:39                         ` Rebecca Cran
2018-12-04 18:00                           ` Laszlo Ersek
2018-12-05 12:55                           ` Laszlo Ersek
2018-12-05 17:26                             ` Rebecca Cran
2018-12-06 14:05                               ` Laszlo Ersek
2018-12-06 14:07                                 ` Laszlo Ersek
2018-12-06 14:13                               ` Laszlo Ersek
2018-12-06 15:25                                 ` Rebecca Cran
2018-12-07  6:10                                 ` Rebecca Cran
2018-12-07 12:00                                   ` my Phabricator findings [was: Research Request] Laszlo Ersek
2018-12-07 13:11                                     ` Rebecca Cran
2018-12-05 17:31                             ` [edk2-announce] Research Request Rebecca Cran
2018-12-06 13:51                               ` Laszlo Ersek
2018-12-03 17:22                     ` Jeremiah Cox
2018-12-04 18:26                       ` Laszlo Ersek
2018-12-05 19:09                         ` Jeremiah Cox [this message]
2018-12-06 13:33                           ` Laszlo Ersek
2018-11-28  5:54 ` Desimone, Nathaniel L
2018-11-28  6:22   ` Stephano Cetola
2018-12-04 18:20 ` Philippe Mathieu-Daudé
2018-12-05 16:03   ` stephano
2018-12-12 13:20 ` GitLab results from my POV [was: Research Request] Laszlo Ersek
2018-12-20 17:46   ` Rebecca Cran
2019-01-10 20:17 ` about 'sr.ht' " Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR21MB01766E7928D76BD5D8396A9AADA80@MWHPR21MB0176.namprd21.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox