From 21b9a461dafeab63893d82a82d7b84ffe3a59c40 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 6 Jun 2025 22:08:26 +0200 Subject: pkgs/back: Remove Back has been moved out-of-tree. --- .../ba/back/src/git_bug/issue/operation/mod.rs | 124 --------------------- .../src/git_bug/issue/operation/operation_type.rs | 51 --------- 2 files changed, 175 deletions(-) delete mode 100644 pkgs/by-name/ba/back/src/git_bug/issue/operation/mod.rs delete mode 100644 pkgs/by-name/ba/back/src/git_bug/issue/operation/operation_type.rs (limited to 'pkgs/by-name/ba/back/src/git_bug/issue/operation') diff --git a/pkgs/by-name/ba/back/src/git_bug/issue/operation/mod.rs b/pkgs/by-name/ba/back/src/git_bug/issue/operation/mod.rs deleted file mode 100644 index 7f861a7..0000000 --- a/pkgs/by-name/ba/back/src/git_bug/issue/operation/mod.rs +++ /dev/null @@ -1,124 +0,0 @@ -// Back - An extremely simple git issue tracking system. Inspired by tvix's -// panettone -// -// Copyright (C) 2024 Benedikt Peetz -// SPDX-License-Identifier: AGPL-3.0-or-later -// -// This file is part of Back. -// -// You should have received a copy of the License along with this program. -// If not, see . - -use std::convert::Infallible; - -use operation_type::OperationType; -use serde::Deserialize; -use serde_json::Value; - -use crate::{ - get, - git_bug::format::{MarkDown, TimeStamp}, -}; - -use super::{entity, label::Label, Status}; - -pub mod operation_type; - -#[derive(Deserialize, Debug)] -#[serde(try_from = "Value")] -pub enum Operation { - AddComment { - timestamp: TimeStamp, - message: MarkDown, - }, - Create { - timestamp: TimeStamp, - title: MarkDown, - message: MarkDown, - }, - EditComment { - timestamp: TimeStamp, - target: entity::Id, - message: MarkDown, - }, - LabelChange { - timestamp: TimeStamp, - added: Vec