mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
NF: add AGPL licence missing in some file
I noticed it when I looked at some files now used in AnkiDroid, wanting to be sure we clearly indicate that we have AGPLv3 code linked in the app
This commit is contained in:
parent
31a3add848
commit
8b5ae7d7c5
14 changed files with 42 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||||
load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test")
|
load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test")
|
||||||
load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script")
|
load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script")
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package BackendProto;
|
package BackendProto;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
pub mod mergeftl;
|
pub mod mergeftl;
|
||||||
pub mod protobuf;
|
pub mod protobuf;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
use fluent_syntax::ast::Entry;
|
use fluent_syntax::ast::Entry;
|
||||||
use fluent_syntax::parser::Parser;
|
use fluent_syntax::parser::Parser;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::{env, fmt::Write};
|
use std::{env, fmt::Write};
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
include!("mergeftl.rs");
|
include!("mergeftl.rs");
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@generated
|
@generated
|
||||||
cargo-raze generated Bazel file.
|
cargo-raze generated Bazel file.
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Exposes a clang-format binary for formatting protobuf.
|
Exposes a clang-format binary for formatting protobuf.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
import sys, subprocess, os, difflib
|
import sys, subprocess, os, difflib
|
||||||
|
|
||||||
clang_format = sys.argv[1]
|
clang_format = sys.argv[1]
|
||||||
|
@ -33,4 +36,4 @@ for path in sys.argv[2:]:
|
||||||
found_bad = True
|
found_bad = True
|
||||||
|
|
||||||
if found_bad:
|
if found_bad:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
def _rustfmt_impl(ctx):
|
def _rustfmt_impl(ctx):
|
||||||
toolchain = ctx.toolchains["@io_bazel_rules_rust//rust:toolchain"]
|
toolchain = ctx.toolchains["@io_bazel_rules_rust//rust:toolchain"]
|
||||||
script_name = ctx.label.name + "_script"
|
script_name = ctx.label.name + "_script"
|
||||||
|
|
|
@ -1 +1,4 @@
|
||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
include!(concat!(env!("OUT_DIR"), "/backend_proto.rs"));
|
include!(concat!(env!("OUT_DIR"), "/backend_proto.rs"));
|
||||||
|
|
|
@ -1 +1,4 @@
|
||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
include!(concat!(env!("OUT_DIR"), "/fluent_proto.rs"));
|
include!(concat!(env!("OUT_DIR"), "/fluent_proto.rs"));
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
mod cards;
|
mod cards;
|
||||||
mod notes;
|
mod notes;
|
||||||
mod parser;
|
mod parser;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
<!-- Copyright: Ankitects Pty Ltd and contributors
|
||||||
|
-- License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->
|
||||||
|
|
||||||
<table class="card-stats" width="100%">
|
<table class="card-stats" width="100%">
|
||||||
{% for row in stats %}
|
{% for row in stats %}
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue