Talk:Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

Jump to navigation Jump to search
m
Line 60: Line 60:


=== Alternative Coding approaches  to implement the features -- Ways to structure the script so it can be easily understood and maintained===
=== Alternative Coding approaches  to implement the features -- Ways to structure the script so it can be easily understood and maintained===
'''Use bash associative arrays to hold information relevant to each component.'''
https://www.gitorious.org/fg/fg-download-and-compile-fgmeta  select branch: feature/bash-associative-arrays


The information needed for the work to be done on each component is similar.  We could create a bash associative array for each component with items for each piece of information required:
The information needed for the work to be done on each component is similar.  We could create a bash associative array for each component with items for each piece of information required:
Line 75: Line 79:
* install  Y/N
* install  Y/N


Logging
'''Logging'''
 
https://www.gitorious.org/fg/fg-download-and-compile-fgmeta  select branch: feature/logging


The current log file contains a number of lines written by the script using 2>&1 tee
The current log file contains a number of lines written by the script using 2>&1 tee
Line 81: Line 87:
Another would be to have an additional log files with timestamped log entries indicating what is to be done, what has completed successfully and what exactly failed.
Another would be to have an additional log files with timestamped log entries indicating what is to be done, what has completed successfully and what exactly failed.


Preventing multiple downloads of fgdata, or other sources such as OSG
'''Preventing multiple downloads of fgdata, or other sources such as OSG'''
 
https://www.gitorious.org/fg/fg-download-and-compile-fgmeta  select branch: feature/directories


Currently the script uses a single way to structure directories for sources, data, building and installing.  In order to support the proposed features that would prevent multiple downloading of sources and data, a different structure may make things easier.   
Currently the script uses a single way to structure directories for sources, data, building and installing.  In order to support the proposed features that would prevent multiple downloading of sources and data, a different structure may make things easier.   
Line 91: Line 99:
* keeping versions of source, build and install directories specific to a particular distribution in a way that supports preparation of new versions for the distribution.
* keeping versions of source, build and install directories specific to a particular distribution in a way that supports preparation of new versions for the distribution.


Let CMake drive the process
'''Let CMake drive the process'''
 
Not sure how to do this yet.  Thoughts?  [[User:Callahanp|Callahanp]] ([[User talk:Callahanp|talk]]) 23:02, 30 September 2013 (UTC)


=== Proposed features -- New features of the script that have yet to be implemented ===
=== Proposed features -- New features of the script that have yet to be implemented ===
982

edits

Navigation menu