Lot V : « Pas avant des votes prouvés » (Yvv, 03/11) — un texte entré par des votes simulés est en vigueur sur le site, la publication attend que tout ce qui est en vigueur tienne sur les seuls votes prouvés (publish::waits_for_proven_votes, simulation::unproven), LD_PUBLISH_SIMULATED=1 publie quand même ; publication.waitsFor ; vu rouge puis vert
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,12 @@ pub struct Publish {
|
||||
/// jusqu'au 1er texte »: the queue waits, and the first text that enters sends it
|
||||
/// (ADR 0011).
|
||||
pub without_articles: bool,
|
||||
/// Publish a document even while a text, an order, a title or a level of inertia
|
||||
/// in effect entered by simulated votes does not hold on the proven votes alone
|
||||
/// (`LD_PUBLISH_SIMULATED`). Off — Yvv, 2026-11-03: « Pas avant des votes
|
||||
/// prouvés »: in force on the site, never published before the proven votes carry
|
||||
/// it (ADR 0012, `publish::waits_for_proven_votes`).
|
||||
pub simulated: bool,
|
||||
}
|
||||
|
||||
/// The vote on the Ğ1 chain (ADR 0008): where the 0.1 Ğ1 of each vote go, how
|
||||
@@ -119,6 +125,7 @@ impl Config {
|
||||
author_name: var("LD_PUBLISH_AUTHOR").unwrap_or_else(|| "libreDecision".into()),
|
||||
author_email: var("LD_PUBLISH_EMAIL").unwrap_or_else(|| "decision@librodrome.org".into()),
|
||||
without_articles: flag("LD_PUBLISH_WITHOUT_ARTICLES"),
|
||||
simulated: flag("LD_PUBLISH_SIMULATED"),
|
||||
});
|
||||
let dev_login = flag("LD_DEV_LOGIN");
|
||||
let vote = var("LD_VOTE_ACCOUNT").and_then(|account| {
|
||||
|
||||
Reference in New Issue
Block a user