Git Product home page Git Product logo

ash-nazg's Issues

"Cannot convert undefined or null to object" when revalidating

Not sure if this is related to the repo manager per se, or just how it's been hooked up specifically to this repo, but: doing a PR on w3c/Mobile-A11y-Extension#9 resulted in an IPR failure (as I was, at the time, not part of the correct contributors list); trying to now trigger a revalidation on https://labs.w3.org/hatchery/repo-manager/pr/id/w3c/Mobile-A11y-Extension/9 i just get a "Cannot convert undefined or null to object" error and nothing further happens...

capture

Error when trying to import a repo

I'm trying to import the feature-policy repo into the WICG, and the repo-manager (silently) fails to do so.
Looking at the console, I see app.js:3 Uncaught TypeError: o.default.findDOMNode is not a function

@dontcallmedom - can you please take a look? Thanks in advance! :)

Force pushes are ignored

If I force-push to a PR's branch, the bot doesn't set any status for the new commit.
Perhaps the bot isn't listening for all the relevant GitHub events?

Can we rename this thing?

Can we please give "ash-nazg" a more obvious name? I can't ever remember what this thing is called and I tend to waste disproportionate amounts of time trying to find it.

Can't import repo?

Getting a 500 error importing a repo:

TypeError: Cannot read property &#39;name&#39; of undefined<br> &nbsp; &nbsp;at andify (/u/lab/ash-nazg/gh.js:69:82)<br> &nbsp; &nbsp;at Object.GH.createOrImportRepo (/u/lab/ash-nazg/gh.js:112:33)<br> &nbsp; &nbsp;at Object.GH.importRepo (/u/lab/ash-nazg/gh.js:90:14)<br> &nbsp; &nbsp;at /u/lab/ash-nazg/server.js:217:31<br> &nbsp; &nbsp;at /u/lab/ash-nazg/node_modules/async/dist/async.js:486:20<br> &nbsp; &nbsp;at /u/lab/ash-nazg/node_modules/async/dist/async.js:1074:13<br> &nbsp; &nbsp;at /u/lab/ash-nazg/node_modules/async/dist/async.js:952:25<br> &nbsp; &nbsp;at eachOfArrayLike (/u/lab/ash-nazg/node_modules/async/dist/async.js:990:13)<br> &nbsp; &nbsp;at eachOf (/u/lab/ash-nazg/node_modules/async/dist/async.js:1052:9)<br> &nbsp; &nbsp;at _asyncMap (/u/lab/ash-nazg/node_modules/async/dist/async.js:1067:9)

Repo I was trying to import:
https://github.com/WICG/memory-pressure/

Allow to un-manage a repository

Due to the bug #4 , I ended up importing repos from my own account (forks of the right repos) in ash-nazg, which I would prefer to remove from the list of managed repositories; I haven't found a way to do that in the current UI.

Revalidate PRs from users whose profile is updated

The system answers:
[[
User foobar is known to the system. You can edit that account.
]]

when the user pull request is classified as "unknown".

That's because the association with the W3C account is missing.

We should improve the message...

[usability] link from ash-nazg home page to pages about how and why you're supposed to use it

Problem: If I web search for site:w3.org ash-nazg, I am able to find the https://labs.w3.org/hatchery/repo-manager/ home page, however, it has a bit of a random unofficial "labs.w3" look and feel, with no context for how or why you're supposed to use it.

Presumably this is documented somewhere already (or should be).

Could the https://labs.w3.org/hatchery/repo-manager/ home page explicitly link to how and why you're supposed to use it?

Thanks!

"can't convert undefined to object" in "active last week" view

When trying to load https://labs.w3.org/hatchery/ash-nazg/pr/last-week, I get an error message stating "can't convert undefined to an object".

The console has the following stack trace:
13:49:42,359 TypeError: can't convert undefined to object
Trace de la pile :
[14]</v</<.value/t<@https://labs.w3.org/hatchery/ash-nazg/js/app.js:2:8333
[14]</v</<.value@https://labs.w3.org/hatchery/ash-nazg/js/app.js:2:7803
[103]</</w._renderValidatedComponentWithoutOwnerOrContext@https://labs.w3.org/hatchery/ash-nazg/js/app.js:7:2158
[103]</</w._renderValidatedComponent@https://labs.w3.org/hatchery/ash-nazg/js/app.js:7:2411
[141]</</r.measure/i@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:3382
[103]</</w._updateRenderedComponent@https://labs.w3.org/hatchery/ash-nazg/js/app.js:7:1632
[103]</</w._performComponentUpdate@https://labs.w3.org/hatchery/ash-nazg/js/app.js:7:1379
[103]</</w.updateComponent@https://labs.w3.org/hatchery/ash-nazg/js/app.js:7:700
[141]</</r.measure/i@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:3382
[103]</</w.performUpdateIfNecessary@https://labs.w3.org/hatchery/ash-nazg/js/app.js:6:31655
[147]</</i.performUpdateIfNecessary@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:9879
s@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:16820
[169]</</o.perform@https://labs.w3.org/hatchery/ash-nazg/js/app.js:10:2860
[169]</</o.perform@https://labs.w3.org/hatchery/ash-nazg/js/app.js:10:2860
[153]</</<.perform@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:18332
[153]</</R@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:18515
[141]</</r.measure/i@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:3382
[169]</</o.closeAll@https://labs.w3.org/hatchery/ash-nazg/js/app.js:10:3608
[169]</</o.perform@https://labs.w3.org/hatchery/ash-nazg/js/app.js:10:2940
[119]</p.batchedUpdates@https://labs.w3.org/hatchery/ash-nazg/js/app.js:7:27005
u@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:17278
r@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:12885
[152]</</f.enqueueSetState@https://labs.w3.org/hatchery/ash-nazg/js/app.js:9:14686
[100]</</r.prototype.setState@https://labs.w3.org/hatchery/ash-nazg/js/app.js:6:22733
[14]</v</<.value/<@https://labs.w3.org/hatchery/ash-nazg/js/app.js:2:6433
1 app.js:1:596
[1]</t.exports.error() app.js:1
[19]</t.exports.catchHandler() app.js:2

Allow to associate a github account without group's participation

Now that the affiliation and participations of an account are checked live (per #56), it is no longer necessary or useful to associate a github account with a group; instead, edit user should offer to link the account to a w3c one either via the login, the id or some other sort of magic (email address? link to github account?)

Right now, the W3C API probably doesn't allow this though.

Way to setup default CG/org

Would've been nice if there was a way to setup a default CG and/or org when importing a repo, as to minimize the number of clicks during the import process.

Contact in w3c.json should be configurable

When importing a repo, the current contact in the w3c.json is the person that imported the repo (I think - it's always my user name. Could also be hardcoded :D)

It'd be great to have some UI that enables determining the contact at import time.

Users affiliations can vary per group

A given user can have different affiliations per group. The W3C systems already support the case where one is an invited expert in one WG, but represents their company in a CG (see #28).

Ideally, at some points, the W3C systems will also support an even more flexible approach where a user can have a different affiliation for any kind of group. If at all possible, ash-nazg should be built along that principle.

Keep track of affiliation/participation changes

When someone's affiliation changes, or when their participation to a group changes, the PR validation needs to take it into account.

This could be done in two ways:

  • either, always check at PR validation time the current status of a given contributor (right now, it is only done when the contributor is added to the system)
  • or rely on a hook from the W3C API to update the database-cached information on a contributor

[Meta-issue] Track ideas and bugs as issues, instead of text

If I understand correctly, ideas for enhancements, bugs, the roadmap — those are kept in the file TODO.txt and in DEVELOPMENT.md, section “suggested improvements”.

I suggest we file one issue here for every idea/bug, and get rid of that copy. It will make it easier to have a clear picture of what's ahead, triage bugs, split the work among the team, and get stats on progress.

I'm happy to do that myself if you like the idea, @darobin.

Ability to ignore non-IP relevant PRs

Some PRs are only typos and don't need to stay flagged as problematic. It would be nice to have the ability to tell ash-nazg that a PR can be safely ignored

Bug with associating Invited Expert with the system

The system emits an inscrutable error message when trying to associate a github profile with a w3c user account whose only affiliation is of invited expert.

The problem is that it assumes that Invited Expert is not a relevant affiliation, which is correct for CGs but incorrect for WGs.

The bigger problem is that it assumes one affiliation per user (but that'll be in a separate issue).

Improve contribution flow & documentation

  1. Be an active W3C member and contributor
  2. Submit a pull request, e.g. w3c/mediacapture-image#173
  3. Have 'ipr' trigger a failure with a details link requiring a login / and authorizing many permissions.

Expect:

  • Actionable summary of how to correctly register contributor status. And, ability to do so.

Actual:

  • Details are not provided, just a log in page with text that indicates significant permissions are required without justifying them.

This site is essentially an application built on top of GitHub. As such, in order for it to work, you need to log into it using your GitHub credentials.

Given that the actions we need to carry out are fairly extensive, the level of permissions we require is relatively high. Worry not, we promise to almost never use it for anything evil.

Go ahead and log in using GitHub.

  • Permissions requested by this app are overly broad, including read and write all public repository data.

Suggestion:

  • Explain in the details page what the IPR validation is.
  • Explain steps to correctly register.
  • Do not require overly broad account permissions to do so.

Bug in repo import form

I was trying to import several WebRTC/DAP repos in a row using https://labs.w3.org/hatchery/ash-nazg/repo/import and hit the following bugs:

  • after having imported the first repo, the account selector (which was set on "w3c") reverted to my own account ("dontcallmedom"), and didn't let me set it back to "w3c"
  • if you hit "import" without having selected a group, it reports an inscrutable JSON error; I guess the group selector should be marked "required"

It would also be nice if the input field for repos had an autocomplete on the known repos for the said account.

Review npm warnings

npm WARN deprecated [email protected]: Babel's CLI commands have been moved from the babel package to the babel-cli package
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global [email protected] should be installed with -g
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

Render components into specific element instead of <body>

React shows this error on the client's console:

Warning: render(): Rendering components directly into document.body is discouraged,
since its children are often manipulated by third-party scripts and browser extensions.
This may lead to subtle reconciliation issues.
Try rendering into a container element created for your app.

Fix that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.