Skip to content

Commit

Permalink
refactor: processing futures as they are completed, and a flag has be…
Browse files Browse the repository at this point in the history
…en added to not display comparison information on stdout.

Refs: #208.
  • Loading branch information
Artanias authored Jan 1, 2025
1 parent 0b35330 commit 1d9785e
Show file tree
Hide file tree
Showing 11 changed files with 177 additions and 135 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UTIL_VERSION := 0.5.9
UTIL_VERSION := 0.5.10
UTIL_NAME := codeplag
PWD := $(shell pwd)

Expand Down
71 changes: 37 additions & 34 deletions locales/codeplag.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Translations template for codeplag.
# Copyright (C) 2024 Codeplag Development Team
# Copyright (C) 2024-2025 Codeplag Development Team
# This file is distributed under the same license as the codeplag project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: codeplag 0.5.8\n"
"Project-Id-Version: codeplag 0.5.10\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-18 23:58+0300\n"
"POT-Creation-Date: 2025-01-01 18:21+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Artyom Semidolin\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -58,145 +57,149 @@ msgid "Show progress of searching plagiarism."
msgstr ""

#: src/codeplag/codeplagcli.py:133
msgid "Do not show check works results in the stdout."
msgstr ""

#: src/codeplag/codeplagcli.py:140
msgid ""
"Threshold of analyzer which classifies two work as same. If this number "
"is too large, such as 99, then completely matching jobs will be found. "
"Otherwise, if this number is small, such as 50, then all work with "
"minimal similarity will be found."
msgstr ""

#: src/codeplag/codeplagcli.py:147
#: src/codeplag/codeplagcli.py:154
msgid "The maximum depth of the AST structure which play role in calculations."
msgstr ""

#: src/codeplag/codeplagcli.py:154
#: src/codeplag/codeplagcli.py:161
msgid ""
"The length of N-grams generated to calculate the Jakkar coefficient. A "
"long length of N-grams reduces the Jakkar coefficient because there are "
"fewer equal sequences of two works."
msgstr ""

#: src/codeplag/codeplagcli.py:165
#: src/codeplag/codeplagcli.py:172
msgid "The language of help messages, generated reports, errors."
msgstr ""

#: src/codeplag/codeplagcli.py:171
#: src/codeplag/codeplagcli.py:178
msgid ""
"Sets the threshold for the '{util_name}' util loggers'. Logging messages "
"that are less severe than the level will be ignored."
msgstr ""

#: src/codeplag/codeplagcli.py:181
#: src/codeplag/codeplagcli.py:188
msgid "The maximum number of processes that can be used to compare works."
msgstr ""

#: src/codeplag/codeplagcli.py:189
#: src/codeplag/codeplagcli.py:196
msgid "Show the '{util_name}' util settings."
msgstr ""

#: src/codeplag/codeplagcli.py:193
#: src/codeplag/codeplagcli.py:200
msgid "Start searching similar works."
msgstr ""

#: src/codeplag/codeplagcli.py:199
#: src/codeplag/codeplagcli.py:206
msgid "Absolute or relative path to a local directories with project files."
msgstr ""

#: src/codeplag/codeplagcli.py:209
#: src/codeplag/codeplagcli.py:216
msgid "Absolute or relative path to files on a computer."
msgstr ""

#: src/codeplag/codeplagcli.py:216
#: src/codeplag/codeplagcli.py:223
msgid ""
"Choose one of the following modes of searching plagiarism. The "
"'many_to_many' mode may require more free memory."
msgstr ""

#: src/codeplag/codeplagcli.py:227
#: src/codeplag/codeplagcli.py:234
msgid ""
"A regular expression for filtering checked works by name. Used with "
"options 'directories', 'github-user' and 'github-project-folders'."
msgstr ""

#: src/codeplag/codeplagcli.py:236
#: src/codeplag/codeplagcli.py:243
msgid "Ignore the threshold when checking of works."
msgstr ""

#: src/codeplag/codeplagcli.py:243
#: src/codeplag/codeplagcli.py:250
msgid "Extension responsible for the analyzed programming language."
msgstr ""

#: src/codeplag/codeplagcli.py:253
#: src/codeplag/codeplagcli.py:260
msgid "Searching in all branches."
msgstr ""

#: src/codeplag/codeplagcli.py:260
#: src/codeplag/codeplagcli.py:267
msgid "A regular expression to filter searching repositories on GitHub."
msgstr ""

#: src/codeplag/codeplagcli.py:267
#: src/codeplag/codeplagcli.py:274
msgid "URL to file in a GitHub repository."
msgstr ""

#: src/codeplag/codeplagcli.py:273
#: src/codeplag/codeplagcli.py:280
msgid "GitHub organization/user name."
msgstr ""

#: src/codeplag/codeplagcli.py:280
#: src/codeplag/codeplagcli.py:287
msgid "URL to a GitHub project folder."
msgstr ""

#: src/codeplag/codeplagcli.py:290
#: src/codeplag/codeplagcli.py:297
msgid ""
"Handling generated by the {util_name} reports as creating html report "
"file or show it on console."
msgstr ""

#: src/codeplag/codeplagcli.py:298
#: src/codeplag/codeplagcli.py:305
msgid "Report commands of the '{util_name}' util."
msgstr ""

#: src/codeplag/codeplagcli.py:307
#: src/codeplag/codeplagcli.py:314
msgid "Generate general report from created some time ago report files."
msgstr ""

#: src/codeplag/codeplagcli.py:312
#: src/codeplag/codeplagcli.py:319
msgid ""
"Path to save generated report. If it's a directory, then create a file in"
" it."
msgstr ""

#: src/codeplag/codeplagcli.py:321
#: src/codeplag/codeplagcli.py:328
msgid "Type of the created report file."
msgstr ""

#: src/codeplag/codeplagcli.py:331
#: src/codeplag/codeplagcli.py:338
msgid ""
"Program help to find similar parts of source codes for the different "
"languages."
msgstr ""

#: src/codeplag/codeplagcli.py:339
#: src/codeplag/codeplagcli.py:346
msgid "Print current version number and exit."
msgstr ""

#: src/codeplag/codeplagcli.py:345
#: src/codeplag/codeplagcli.py:352
msgid "Commands help."
msgstr ""

#: src/codeplag/codeplagcli.py:360
#: src/codeplag/codeplagcli.py:367
msgid "No command is provided; please choose one from the available (--help)."
msgstr ""

#: src/codeplag/codeplagcli.py:371
#: src/codeplag/codeplagcli.py:378
msgid "There is nothing to modify; please provide at least one argument."
msgstr ""

#: src/codeplag/codeplagcli.py:375
#: src/codeplag/codeplagcli.py:382
msgid "The'repo-regexp' option requires the provided 'github-user' option."
msgstr ""

#: src/codeplag/codeplagcli.py:383
#: src/codeplag/codeplagcli.py:390
msgid ""
"The'path-regexp' option requires the provided 'directories', 'github-"
"user', or 'github-project-folder' options."
Expand Down
Loading

0 comments on commit 1d9785e

Please sign in to comment.