Git Product home page Git Product logo

triage-party's Issues

CloudSQL: Add Postgres support (fails with "driver: bad connection")

I've deployed an instance of triage-party to CloudRun without a persistent backend, and that worked fine.

Then, I deployed a Cloud SQL instance (postgres) and created a user and database. Then, based on minikube-deploy.sh example, I tried to deploy a new revision with CloudSQL by setting the environment variables PERSIST_BACKEND and PERSIST_PATH and that failed.

F0511 19:55:08.934229 1 main.go:94] unable to create persistence layer: new from cloudsql: USER:PASSWORD@tcp(PROJECT/us-central1/jx-teaparty)/tp: driver: bad connection

Advice/tips appreciated.

FR: shard issues/PR's by label in multi-player mode

let say we have two users
one is windows expert
the other one is docker-driver expert

and we play triage party, we should be able to choose triage by "kind/docker" or "kind/hyperv" , "kind/multinode"

that we can users can play based on their expertise rather than get random set of issues.

Decrease unnecessary updates for popular collections

With the most recent changes, the updater will keep polling github during idleDuration (5 minutes):

if resultAge > u.minRefreshAge && lastRequestAge < u.idleDuration {

So, a single request could spawn 60 loops to GitHub if minRefresh is set to 15 seconds.

Instead, we poll only as often as the popularity requires. Something like:

if resultAge > max(minRefresh, lastRequest) {
  return true
}

Implement basic leaderboards

This is to allow users to define leaderboards to incentivize positive behavior, such as:

  • of issues commented on

  • of issues closed without follow-up comment

  • of PR's merged

similarity detection: filter unimportant words out

We can get a higher hit-rate for similarity if we filter out a basic list of words which don't impact the nature of an issue or PR:

There are certain adjectives and prepositions that come to mind:

a
about
an
and
are
be
by
can
completely
does
extremely
for
has
have
how
in
is
maybe
of
on
or
should
some
something
still
than
the
then
to
use
very
via
when
why
with

However: we need to be careful not to skew things so badly that the min-similarity index is no longer helpful.

Periodically save state to initcache

At the moment, Triage Party only writes to the initcache at startup.

For larger repositories, it would be nice to have a periodic checkpoint to disk.

Support repo dependent rules

Hi, I would like to manage multiple repos in a single triage-party instance. Fortunately, triage party already support it:

settings:
...
  repos:
    - https://github.com/org1/repo1
    - https://github.com/org2/repo2

However, if I understood correctly, the current configuration scheme doesn't support repo dependent rules. For example, each repository has different SLOs.

Of course, we can prepare separate triage-party instances, But I would like to have only one triage-party site for efficiency (it would be easier for us to access one triage-party instance to perform triage for target multiple repos).

Perhaps, we can implement repo filter that accepts regex ([!]regex). Then user can define repo dependent rules like below:

p0-followup-overdue-repo1:
...
    filters:
      - repo: "org1/repo1"
      - label: "priority/p0"
      - tag: recv
      - responded: +3d
p0-followup-overdue-repo2:
...
    filters:
      - repo: "org2/repo2"
      - label: "priority/p0"
      - tag: recv
      - responded: +7d

Add ability to hardcode repo org members

Basically requesting a workaround for the org-permissions issue (referenced here: #105) - If I can't get the permission, I'd still like the ability to filter out repo maintainers from outside contributors.

Add support for GitLab

It would be great if the triage-party can also be used with other systems like gitlab, to get an overview of multiple repos and systems to get a better cross platform overview.
I am aware, that this is not a small feature, but it would be an awesome improvement for bigger communities or companies, who need to use multiple services.

Would love to know your opinion about it. No hard feelings, if the request is just closed ;)

Closed PR's: timeline pull happens too often

Example:

I0617 11:16:34.275803   75669 timeline.go:36] cache miss for kubernetes-minikube-5452-timeline newer than 2020-06-17 11:15:29.210782 -0700 PDT m=+12.177519167
I0617 11:16:35.043964   75669 timeline.go:36] cache miss for kubernetes-minikube-6873-timeline newer than 2020-06-17 11:15:29.210782 -0700 PDT m=+12.177519167
I0617 11:16:35.792263   75669 timeline.go:36] cache miss for kubernetes-minikube-4752-timeline newer than 2020-06-17 11:15:29.210782 -0700 PDT m=+12.177519167
I0617 11:16:36.529062   75669 timeline.go:36] cache miss for kubernetes-minikube-8214-timeline newer than 2020-06-17 11:15:29.210782 -0700 PDT m=+12.177519167
I0617 11:16:37.244689   75669 timeline.go:36] cache miss for kubernetes-minikube-4805-timeline newer than 2020-06-17 11:15:29.210782 -0700 PDT m=+12.177519167
I0617 11:16:38.068430   75669 timeline.go:36] cache miss for kubernetes-minikube-7131-timeline newer than 2020-06-17 11:15:29.210782 -0700 PDT m=+12.177519167
I0617 11:16:38.541926   75669 timeline.go:36] cache miss for kubernetes-minikube-5188-timeline newer than 2020-06-17 11:15:29.210782 -0700 PDT m=+12.177519167

Documentation: clarify token file

Hi there,

Looking to try this out with the Mautic community, however I fell at the first hurdle.

Can you explain how to set up a token file or point me at the appropriate documentation which explains how to create it? I am very familiar with creating the tokens, but have not seen that used in this way before, and could not find anything online.

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.