Giter Club home page Giter Club logo

Comments (6)

clr-apache avatar clr-apache commented on July 29, 2024

from whimsy.

rubys avatar rubys commented on July 29, 2024

Could you be a bit more precise than "is confused"? Not know what the symptoms are makes it hard to debug.

remind-actions starts from the information in the roll call, presuming that action items tend to go to people who either are expected to attend meetings or actually show up. It then augments this list from committee-info.txt. It then extracts first names from this list, and then if there are duplicates, applies a heuristic that action items tend to go first to directors, then to officers, then to guests, then to other non-pmc VPs that are not listed in the roll call.

Using the current agenda, this is the mapping that is produced:

{"Andy"=>"andy",
"Bertrand"=>"bdelacretaz",
"Craig"=>"clr",
"Daniel"=>"humbedooh",
"David"=>"ke4qqq",
"Dirk-Willem"=>"dirkx",
"Gavin"=>"gmcdonald",
"Greg"=>"gstein",
"Griselda"=>"gris",
"Henri"=>"bayard",
"Justin"=>"jmclean",
"Mark"=>"markt",
"Matt"=>"mattsicker",
"Myrle"=>"myrle",
"Niclas"=>"niclas",
"Patricia"=>"pats",
"Rich"=>"rbowen",
"Roman"=>"rvs",
"Roy"=>"fielding",
"Ruth"=>"suehle",
"Sally"=>"sk",
"Sam"=>"rubys",
"Sander"=>"striker",
"Shane"=>"curcuru",
"Tom"=>"tpappas",
"Trevor"=>"rawkintrevo"}

The results of a parsed agenda can be obtained by going to https://whimsy.apache.org/board/agenda/2020-07-15.json

The code that produces that first-name to availid mapping can be found at:

people = agenda[1]['people'].to_a +
(ASF::Committee.officers+ASF::Committee.nonpmcs).map(&:chairs).flatten.uniq.
map {|person| [person[:id], person.merge(role: :info)]}
# build a mapping of first names to availids
order = {director: 4, officer: 3, guest: 2, info: 1}
name_map = people.sort_by {|key,value| order[value[:role]]}.
map {|key, value| [value[:name].split(' ').first, key]}.to_h

from whimsy.

royfielding avatar royfielding commented on July 29, 2024

Sorry, there isn't much detail to give, but my guess was wrong.

The error message is "Error: no emails were sent to ". One message was correctly sent to Shane and the other was not sent (to Sander). The only thing different was that Sander is usually noted as Striker in the AIs, but I think he manually changed that.

There is no indication of anything in the error logs. In the access log it shows as a 200 at whimsy_access.log-20200630:{ "time": "2020-06-30T00:16:42+0000" }

I just tried it again with only Sander checked. The dry run looks like

Date: Wed, 01 Jul 2020 19:20:46 +0000
From: "Roy T. Fielding" <[email protected]>
To: Sander Striker <[email protected]>
Message-ID: <[email protected]>
Subject: Action Item reminder
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

The following action needs your attention:

* work on guidelines for PMCs to request CI resources
  [ Unfinished Business 2020-05-20 ]

app.js:7736:17
Object { count: 1, unsent: [], dryrun: true }

and the only thing unusual about that is his address name is not double-quoted.

It should be reproducible (in chair mode) by looking at action items, selecting send reminders, and selecting only Sander.

from whimsy.

royfielding avatar royfielding commented on July 29, 2024

Oh, hold on, the mail to Sander is getting sent since it is being bcc'd to board-private (WTF?).

So, the UI message popup of "Error: no emails were sent to " is something else entirely.

from whimsy.

sebbASF avatar sebbASF commented on July 29, 2024

I think the error message should be followed by a comma-separated list of the recipients whose emails could not be found.
Maybe the list contains some invisible people; as a check I can add markers to show the list boundary.

from whimsy.

sebbASF avatar sebbASF commented on July 29, 2024

Agenda tool is being replaced

from whimsy.

Related Issues (20)

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.