neithernut / issue-states Goto Github PK
View Code? Open in Web Editor NEWState management for issues
License: MIT License
State management for issues
License: MIT License
I think a format for conditions should be specified. Of course, the library should also gain support for such a format (how exactly the interface will look like is another interesting question which I do not want to discuss here).
The original idea was to have the user declare a suitable format for conditions. The rationale behind it was that specifying a format may be too restrictive. However, specifying a format would clearly improve (potential) interoperability of tools and software making use of issue states. It would also avoid a situation where a user or admin would have to "learn" a new condition format for every new tool.
git-dit already has a format for conditions. It allows checking for:
<name>=<value>
)<name>~<value>
)!<condition>
)The supported datatypes so far are strings and lists of strings. A longish-term plan included adding more operators (e.g. <
and >
for numerical or partially ordered values).
One option would be to just take this format, add a bunch of operators, and include it in issue-states. But I'm not sure. Maybe the format could be improved.
@MichaelMure, given that git-bug is a potential user, do you have any ideas or preferences?
Hi @neithernut
This is quite interesting. Do you have an example of set of rules that could be used ?
It would be subjective and depend on the actual features that the tracker support but it would help to show the benefits of this solution.
One obvious benefits is that it would allow the end user to define their own rules and adapt the tracker to their workflow instead of the other way around.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.