Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103054 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65482 invoked from network); 8 Aug 2018 09:38:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2018 09:38:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=t.motylewski@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=t.motylewski@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.178 as permitted sender) X-PHP-List-Original-Sender: t.motylewski@gmail.com X-Host-Fingerprint: 209.85.217.178 mail-ua0-f178.google.com Received: from [209.85.217.178] ([209.85.217.178:38457] helo=mail-ua0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/04-18754-FF9BA6B5 for ; Wed, 08 Aug 2018 05:38:07 -0400 Received: by mail-ua0-f178.google.com with SMTP id o11-v6so1662728uak.5 for ; Wed, 08 Aug 2018 02:38:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=9xLAEOY/EZulIaaHozFxpQQ33g54i+iBYkXe8viKh6Y=; b=Ix5S/GpTtI4zdHabWmGuoSm0pBySxZPCF9t2AZp/hZyGa9LoYGZIUC8Y+bI1rP3kM8 H3/JcxBCjJ3OkQ118z6sqkJzVgSeoBdoyX1RH6zMqjYbfYIAglwfmxaI61gSbRGRu71z miElVcZvadnrf2ZagNtPs9okn2cJ629yaa/sWvCBKTmUxqrNMhVekyuHznO20kxJmKXs gsDsEWvzoTlVhEbg+b5awDxHH07/aHXrWkDRbnnFI4G/EiNuay8OW0LrPIjaP5+cchDJ TFpaOY1Le13/2XmR6TQMP7etsRkbLAj4S3596xZB+YOMXRaF7grdY3vNQPs0ZoKTZC7U sd6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=9xLAEOY/EZulIaaHozFxpQQ33g54i+iBYkXe8viKh6Y=; b=oJwTiCXNj0YThPueCNpYfLy72qrLEm3g+5Nkmx69ujPThuhn6BfdZMPfIyaVbf2L1e sAd/7n531KhhlxNYtM14XX37LKlCVHGmMRD8DEFYqL4p2UiidrfQTY15KFskhl1NZv06 r5kCzfKoPXlr09nsoIfRGSNS17loSgdAflMbsEtkqiSUffSMIAGkqiHMdlEOQvpyjz7+ bkRYfb9Az13u9blU/IiDd8T0l5s9WSuoYjgA3zHpilMJKkMKNUAo5Nax5h1BcfHE+kwM Rliet6GTGOnCyoMxfQYiW/TYBu/Kfy0RbnvQLap7CxXppqVPBzfqsvMlh6idsDuBYtTd f5iw== X-Gm-Message-State: AOUpUlECTcbvmmgQS23RrTJpCilB+dz9w2/S9CdozFF0qHRQRRXv+XpB fUj3qg32xlypwM9EZ9mOfHmD7RI2UPAr7Ce0oxj9ahXL X-Google-Smtp-Source: AA+uWPzVae8WpEGliZBs1twuho6DhvfDHQRdWGononhCgyKrk6LRP1sMhX/AlouxBazT0tB/ynxeez17s3mc/Sloxec= X-Received: by 2002:a1f:968f:: with SMTP id y137-v6mr1249356vkd.55.1533721084838; Wed, 08 Aug 2018 02:38:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 8 Aug 2018 11:37:53 +0200 Message-ID: To: pollita@php.net Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] bugs.php.net usability, migration to a different tool From: t.motylewski@gmail.com (Tymoteusz Motylewski) wt., 7 sie 2018 o 22:10 Sara Golemon napisa=C5=82(a): > > On Tue, Aug 7, 2018 at 1:17 PM, Tymoteusz Motylewski > wrote: > That's a bit harsh, but I get your point, it's a getting to be... long > in the tooth, shall we say. Sorry for that, got too passionate about PHP ;) > At a start (non-exhaustive): > 1. Need for integration with PHP's dev login database (x@php.net people) Do you have some auth with API already in place (ldap, oauth, ...)? > 2. Ability to import and index ALL existing bug reports. You may have > trouble parsing it, but it's most certainly of value to those of us > fixing these bugs. > 3. Support for existing bug reports still being editable by their > original posters (requiring them to create a new account tied to their > original email is acceptable) > 4. Support for private bugs only visible to a small subset of devs ( > https://github.com/php/web-bugs/blob/master/include/trusted-devs.php > ). Security vulnerability reports shouldn't double as zero-day > announcements. 2,3,4 require work of course, but is nothing unexpected when migrating issue tracker. > Beyond that there are some unexpected requirements. For example, did > you ever wonder why php.net doesn't use any frameworks? Partly it's > because of its age, but it's also because the minute we do, we > implicitly endorse that framework and that upsets the balance of the > ecosystem. We don't want one framework or another to win by default, > we want the best solutions to rise up and excel in their ideal space > on their merits (as much as that's possible). As a result, all of > PHP's website code is artisanal, hand-written, and in some areas, a > bit crap. That same guideline would certainly apply to any > off-the-shelf bug tracker. Does this make replacing bugs.php.net > 100,000% more difficult? Yes, yes it does. However, C=C3=A6sar's wife mus= t > be beyond reproach. I would look not for a framework to build new issue tracker on top, but rat= her an out of the box products, so not every framework is a candidate at all. Do I read you correctly, that the new issue tracker has to be written in PH= P? What about a SAAS platforms like github, gitlab and so? Can they also be considered? Imagine you will implement a login to bugs.php.net consuming github or gmail oauth, will you then also write oauth library yourself, or use any existing one, from the PHP community? > What this all ends up meaning is that the best way forward is small > (read: reviewable), incremental improvements to the bug tracker we > have. I'm not against it, however I imagine that the PHP maintainers have better things to do than to build yet another bug tracker. > > - the UI is terrible (not useful, confusing, misleading) > UI is harsh and a bit 90s in styling, but I have a hard time agreeing > with the rest of that statement. What is confusing to you? I'm sure it's clear for you, as you're used to the system and know the internals. However try putting a regular user in front of it and ask him to do some action ;) e.g. - how to get back to the filtered list, from single issue? - What filters are enabled on the list (seems you have to brain-parse url to check it)? - comment form being on top, far away from the last comments on the longer threads - "Developer" tab is useful only for php.net users, so it should be visible only when they log in, - labels of the input fields are not much helpful without additional explanation/help, like "Return bugs assigned to" - what should I put inside? email address, n= ick? "Return bugs updated" - will selecting 90 return me issues older than 90 days or younger? - and the winner of the confusion context - the comment form - what should = I do to both send a comment and be notified? should I first subscribe and then comment, or is subscription done automatically when you submit a comment? "Subscribe to this entry" - does "entry" means issue in this case? ;) > > - data quality is low (many duplicated reports, lot of old reports > > > In fairness, you'll find this in every bug system for any project with > even moderate popularity. yes an no, it's true that every bigger project has the same problem, but the difference is in the scale. I did a quick grasp and I see more than 1k issues which were not updated since some years and were reported to not maintained versions. My argument is that if regular logged in users were able to e.g. set/add newer affected PHP version, os system (but please a list, not an input), relate issues together (related, duplicated), then it will be much easier for PHP maintainers to close old, unrelated or duplicated issues. Many other opensource systems managed to gather people who are not in the maintainer group/core team, but who has higher permissions (like edit issue, change status, etc). In other words people who you trust enough to be able to clean issue tracker a bit. > > - the tool blocks community in helping managing the issue list and tria= ging bugs > Citation needed. Here I am ;) I'm involved in many OSS communities, like TYPO3 (I'm a core dev there), Magento, etc. I see PHP issue tracker being the least pleasant to use. One recent example - when investigating security issues related to phar archives before our last security release for TYPO3 I spend some hours using bugs.php.net, reading issues, trying to find sth related. I saw many issues which were duplicated, or at last very related but there was no way for me to connect them - thus helping managing the issue queue. I'm pretty sure if you ask regular PHP developers, you will hear similar opinions. People are used to features and ease of use provided by e.g. github/gitlab/bitbucket.... > > - Its not possible to log in, be notified when sth change on issues > > > Incorrect. Any issue you comment on will email you (assuming you've > provided a valid email address) on any change. > I'll grant that you shouldn't need to put your email address in a > public place (the obfuscation is a joke) just to subscribe to updates, > but subscribing is possible. Interesting. I dont recall getting an any email from bugs.php.net, and I'm pretty sure I was involved in some issues with different emails. But maybe they were not modified? > Is our hypothetical volunteer somewhere between "wanting to help" and > "not wanting to get a php.net account"? Because that's the user who's > unable to link issues. Is it possible to register on php.net and get an account? Where? How? > Also, comments make for lovely links. The bug ID urls are 100% > restful permalinks. I would expect that putting an issue number (or the full link) in the comme= nt would also result in listing the issue in the "Related reports" tab. > > how can I get it back once I forgot? > > > That, funnily, is a bug. There should be a link to > https://bugs.php.net/bug-pwd-finder.php?id=3D$bugid next to the password > field. I'll fix that in a moment. thanks :) > > - The "Same OS" stats are not really helpful, it doesn't even help to > > know whether it's windows only issue or also linux related, it's not > > really possible to filter issues related to some system > > > It absolutely does help to know if it's OS specific. That points to > cause, and ultimately solution. Sorry, I was not clear enough. I agree that the field is important. I wanted to say that the data quality we currently have in bugs.php.net for the OS field is low (because of issues described above)= . As a user how can I filter issues only related to linux? > ((Yes, I know, triage > and maintenance of data is a side-effect of the usability of the > tool.)) That's what I'm trying to say ;) > > - there are tons of stale issues even from over 10 years ago. With > > better issue tracker people from community would be able to help > > triaging these bugs, confirming them, setting correct statuses, > > finding duplicates and so > > > Are you suggesting that arbitrary users be allowed to alter bug report > status without authentication? If you think the data is worthless > now, you'll love what happens when anyone can edit anything without > limitation. No, please see my comments above. 1. we need login, and everything even comments have to be made by logged in= user 2. authenticated users should be able to set basic things like issue relati= ons 3. there might be a group of user with higher rights (but not as high as maintainers) > Many of the above can be fixed, and the entire site is in PHP and on > github. I encourage you to offer pull requests! Where? How can I setup a local dev environment with current issue tracker? Is there a demo/stripped db dump available?