You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BottomSheet;https://github.com/lucaszischka/BottomSheet;MIT;Copyright (c) 2021-2022 Lucas Zischka;3.1.1
@@ -99,8 +102,10 @@ Copyright (c) 2021-2023 Orange SA
99
102
You may download the source code on the [following website](https://github.com/Orange-OpenSource/accessibility-statement-lib-ios).
100
103
```
101
104
102
-
### About the licenses.py file
105
+
### About the configuration.py file
103
106
104
107
There is plenty of licenses and also a lot of standards. It can be a pain or time-consuming to let the user write the license in use for a component,
105
108
then find the URL pointing to the license text and write it. In fact, such details are still known so we can let the user choose within list items.
106
-
The *licenses.py* file lists main licenses we can meet during audits. Each entry in this dictionary has a license name in SPDX short-identifier format and the URL pointing to the license text. Thus these details will be added in the THIRD-PARTY file.
109
+
The *configuration.py* file lists main licenses we can meet during audits. Each entry in this dictionary has a license name in SPDX short-identifier format and the URL pointing to the license text. Thus these details will be added in the THIRD-PARTY file.
110
+
111
+
It contains also shared configuration between scripts.
required_args.add_argument('-f', '--file', help='The CSV file file to process', required=True)
40
-
required_args.add_argument('-d', '--delimiter', help='The delimter symbol (e.g. ";" to split fields for each line of the CSV file', required=True)
41
-
required_args.add_argument('-a', '--avoid', help='The sequence to use to define wether or not a specific field (version or copyright) must be ignored (e.g. "?" in the CSV raw field', required=True)
39
+
required_args.add_argument('-f', '--file', help='The CSV file file to process', default=DEFAULT_PROMPT_RESULT_FILE)
40
+
required_args.add_argument('-d', '--delimiter', help='The delimter symbol (e.g. ";" to split fields for each line of the CSV file', default=DEFAULT_PROMPT_RESULT_FILE_DELIMITER)
41
+
required_args.add_argument('-a', '--avoid', help='The sequence to use to define wether or not a specific field (version or copyright) must be ignored (e.g. "?" in the CSV raw field', default=DEFAULT_AVOID_FIELD_SYMBOL)
print(f'🎉 Operation completed! Find your result file at "{SAVE_FILE}" with {components_added} new component(s)! 🎉')
145
+
print(f'🎉 Operation completed! Find your result file at "{DEFAULT_PROMPT_RESULT_FILE}" with {components_added} new component(s)! 🎉')
150
146
ifcomponents_with_missing_licences>0:
151
147
print("\n")
152
148
print(f'❗ But beware you have {components_with_missing_licences} components without managed licenses, you shall fix the result file with suitable names and URL ❗')
153
149
print("👉 Please refer to either https://opensource.org/licenses or https://spdx.org/licenses/ 👈")
154
150
print("🧡 You can also submit an issue or a pull request to manage new licences: https://github.com/Orange-OpenSource/floss-toolbox/issues/new 🧡")
0 commit comments