Merge pull request #9338

4a376d6 copyright: fix vector.h typo (hinto.janaiyo)
d61e8e9 workflows: delete copyright.yml (plowsof)
341771a copyright: bump to 2024 (copyCat)
This commit is contained in:
luigi1111 2024-07-16 18:42:49 -04:00
commit 040bccc22f
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
733 changed files with 732 additions and 788 deletions

View file

@ -1,56 +0,0 @@
name: ci/gh-actions/copyright
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 1 *'
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Make changes to pull request
continue-on-error: true
shell: bash
run: |
year=$(date +%Y)
echo "YEAR=$(echo $year)" >> $GITHUB_ENV
find . -print0 | while IFS= read -r -d '' file
do
if [[ -d $file ]] || [[ $file == *".git"* ]]; then
continue
fi
line=$(grep .*Copyright.*Monero.* $file || true)
if [[ -z $line ]]; then
continue
fi
fromTo=$(grep -o "[0-9]\{4\}-[0-9]\{4\}" <<< $line || true)
if [[ ! -z $fromTo ]]; then
# string contains "FROM-TO"
# we need to replace FROM with current year
to=$(awk '{split($0, array, "-"); print array[2]}' <<< ${fromTo})
repl=${line/"$to"/"$year"}
else
# we only have a FROM year
# find occurance of 4 digits
from=$(grep -o "[0-9]\{4\}" <<< $line || true)
fromTo="${from}-${year}"
# replace FROM with FROM-TO
repl=${line/"$from"/"$fromTo"}
fi
sed -i "s|${line}|${repl}|g" $file
done
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Copyright: Update to ${{ env.YEAR }}"
committer: GitHub <noreply@github.com>
author: copyCat <copy@Cat.com>
signoff: false
branch: bump-copyright-year
delete-branch: true
title: "Copyright: Update to ${{ env.YEAR }}"
body: |
Happy new year!
draft: false

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Portions Copyright (c) 2017-2023, The Monero Project
# Portions Copyright (c) 2017-2024, The Monero Project
# This file is based off of the https://code.google.com/archive/p/ios-cmake/
# It has been altered for Monero iOS development
#

View file

@ -1,4 +1,4 @@
Copyright (c) 2014-2023, The Monero Project
Copyright (c) 2014-2024, The Monero Project
All rights reserved.

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,6 +1,6 @@
# Monero
Copyright (c) 2014-2023, The Monero Project
Copyright (c) 2014-2024, The Monero Project
Portions Copyright (c) 2012-2013 The Cryptonote developers.
## Table of Contents

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2019-2023, The Monero Project
// Copyright (c) 2019-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2020-2023, The Monero Project
// Copyright (c) 2020-2024, The Monero Project
//
// All rights reserved.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -8,7 +8,7 @@
// ! (how ever if in some wonderful juristdictions that is not the case, then why not make another sub-class withat that members and licence it as epee part)
// ! Working on above premise, IF this is valid in your juristdictions, then consider this code as released as:
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -2,7 +2,7 @@
/// @author rfree (current maintainer in monero.cc project)
/// @brief implementaion for throttling of connection (count and rate-limit speed etc)
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -2,7 +2,7 @@
/// @author rfree (current maintainer in monero.cc project)
/// @brief interface for throttling of connection (count and rate-limit speed etc)
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2019-2023, The Monero Project
// Copyright (c) 2019-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021-2023, The Monero Project
// Copyright (c) 2021-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2023, The Monero Project
// Copyright (c) 2023-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2022-2023-2023, The Monero Project
// Copyright (c) 2022-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2022-2023, The Monero Project
// Copyright (c) 2022-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021-2023, The Monero Project
// Copyright (c) 2021-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021-2023, The Monero Project
// Copyright (c) 2021-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021, The Monero Project
// Copyright (c) 2021-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2021-2023, The Monero Project
// Copyright (c) 2021-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2023, The Monero Project
// Copyright (c) 2023-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2019-2023, The Monero Project
// Copyright (c) 2019-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2019-2023, The Monero Project
// Copyright (c) 2019-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2020-2023, The Monero Project
// Copyright (c) 2020-2024, The Monero Project
//
// All rights reserved.

View file

@ -2,7 +2,7 @@
/// @author rfree (current maintainer in monero.cc project)
/// @brief base for connection, contains e.g. the ratelimit hooks
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2019-2023, The Monero Project
// Copyright (c) 2019-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2019-2023, The Monero Project
// Copyright (c) 2019-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -2,7 +2,7 @@
/// @author rfree (current maintainer in monero.cc project)
/// @brief implementaion for throttling of connection (count and rate-limit speed etc)
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -26,7 +26,7 @@ Throttling work by:
*/
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -56,7 +56,7 @@ the previous paragraph is here.
## License
Copyright (c) 2009-2015 Pieter Hintjens.
Copyright (c) 2017-2023, The Monero Project
Copyright (c) 2017-2024, The Monero Project
This Specification is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,6 +1,6 @@
# Monero Blockchain Utilities
Copyright (c) 2014-2023, The Monero Project
Copyright (c) 2014-2024, The Monero Project
## Introduction

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2023, The Monero Project
# Copyright (c) 2014-2024, The Monero Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2018-2023, The Monero Project
// Copyright (c) 2018-2024, The Monero Project
//
// All rights reserved.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017-2023, The Monero Project
// Copyright (c) 2017-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2023, The Monero Project
// Copyright (c) 2014-2024, The Monero Project
//
// All rights reserved.
//

Some files were not shown because too many files have changed in this diff Show more