The current tool will put an absolute path as the value of the 'about_file' when creating a BOM from about.py.
However, there may be a potential issue.
Assuming we have brunch of ABOUT files under /home/user/project/about/, once we generate the output CSV from the about.py, the 'about_file' field will be filled with absolute path of the ABOUT file such as /home/user/project/about/test.ABOUT
When the user want to generate the attribution by the genattrib.py from this BOM, the input path for genattrib.py need to be the root, '/', as to match with the 'about_file' value in the CSV. As a result, the tool will begin to search all the ABOUT files from the root which will cause a lot of time and resources on useless location.
My current solution to this is to modify the CSV and take out the '/home/user/project/' string in the 'about_file' field, and then in the input of the genattrib.py, put /home/user/project/, so that the tool will ONLY look at the ABOUT files under /home/user/project/ instead of the whole system.
@pombredanne what do you think?
The current tool will put an absolute path as the value of the 'about_file' when creating a BOM from about.py.
However, there may be a potential issue.
Assuming we have brunch of ABOUT files under /home/user/project/about/, once we generate the output CSV from the about.py, the 'about_file' field will be filled with absolute path of the ABOUT file such as /home/user/project/about/test.ABOUT
When the user want to generate the attribution by the genattrib.py from this BOM, the input path for genattrib.py need to be the root, '/', as to match with the 'about_file' value in the CSV. As a result, the tool will begin to search all the ABOUT files from the root which will cause a lot of time and resources on useless location.
My current solution to this is to modify the CSV and take out the '/home/user/project/' string in the 'about_file' field, and then in the input of the genattrib.py, put /home/user/project/, so that the tool will ONLY look at the ABOUT files under /home/user/project/ instead of the whole system.
@pombredanne what do you think?