-
Notifications
You must be signed in to change notification settings - Fork 398
MonkBulk
The license matches are made if the entered text is matched to 100% (Some tokens like #
, //
, /*
, dnl
, '''
, """
... do not need to be matched).
From these matches, a decision is made if it can be made without conflicts or the 'ignoreConflicts' option is checked.
A typical use case would be to remove a license finding hint like 'See file' and to replace it with the correct license. The text used for that can just be copied out of the file into the bulk search box. If you wish to remove comments you can do it manually, as Monk does ignore them anyway.
We have made 2 Bulk scans already with a copy pasted text snippet on the left
To have a clean bulk scan history we have removed the '#' characters at the line start
... and it works just as well
As referenced in the image above, the Bulk recognition agent can be configured with following options:
- Selecting the license to add/remove
- From the drop-down, select the license which needs to be added/removed.
- Clicking on the + will add the license in the table bellow with Action as Add.
- Clicking on the - will add the license in the table bellow with Action as Remove.
- Adding License Text/Acknowledgement/Comment
- For each license added, the license text, acknowledgement and comment can be added by clicking on "Click to add" in respective columns.
- This is very helpful in modifying the license text in report for multiple files and adding license acknowledgements.
- Removing license from the operation
- If a license was added/removed by mistake for the bulk operation, it can be removed by clicking on - button on the end of the column.
- Reference text
- The text snippet which is to be scanned in files should be added to the "Reference text" field.
- The content can be copied directly from the file as well.
- Scan scope
- The scan scope can be set either to whole upload or to the current folder.
- This can be helpful for reference text scenarios where license changes based on folder.
- Ignoring files
- The first option "Ignore conflicts" force add or remove the license where reference text matches irrespective of the license collision.
- If the option "Ignore Irrelevant files" is selected (default), do not scan files marked with irrelevant decisions for the reference text.
- Unchecking the "Ignore Irrelevant files" will scan all the files within the scan scope irrespective of the decisions on them.
- Custom delimiters
- Delimiters are single characters which are used to break text into tokens.
- By default, Bulk uses
\t\n\r\f#^%,*
as list of delimiters. This list can be modified using the "Custom delimiters" option and adding them to the Delimiters textbox. - The delimiters can only be single characters (
xyz
will be treated as 3 delimiters,x
,y
andz
). - Special characters like
\t
,\n
, etc will be treated as single delimiter. (\r\n\t
will create 3 delimiters\r
,\n
and\t
). - Space by default will be used as a delimiter irrespective of it being in the textbox.
- Clean text
- The "Clean text" button can be used to remove the delimiter characters from the reference text and replace them with a space.
- Using the button will not effect the scan from bulk as scanner will drop the delimiters.
- The button is just for reference, checking the effect of delimiter removal.
- It is also used as a helper to clean up text for license text in option 2 by users.
Clicking on "Schedule the Bulk scan" will start the scan.
The scanner dialog can also be opened by clicking on [Bulk] next to a folder. This will open the dialog as in Scheduling the agent, however the scope of the scan will only be limited to the folder.
- Please note the periods (
.
) is not a default delimiter and will be used in text match.- For example, if the text in file is
CC0-1.0 license.
- The reference text
CC0-1.0 license
will not match. - The reference text
CC0-1.0 license.
will match.
- The reference text
- For example, if the text in file is
CC0-1.0 license
- The reference text
CC0-1.0 license
will match. - The reference text
CC0-1.0 license.
will not match.
- The reference text
- For example, if the text in file is
- Nomos
- Monk
- MonkBulk
- ReSo-(REUSE.Software)
- Reuse clearing with reuser
- ScanCode agent
- Copyright
- ECC
- Package Agent
- Maintenance Agent
- Mimetype Agent
- Buckets
- Spasht Agent
- Email notification configuration
- Migration to UTF 8 DB
- External authentication configuration
- OpenID Connect authentication configuration
- Access Control