Commit Graph

8 Commits

Author SHA1 Message Date
David Oberhollenzer 4a682b83f1 cleanup: reimplement process_file using foreach_line_in_file
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-08 17:32:59 +01:00
David Oberhollenzer b688a39149 cleanup: move input file open/close into process_file function
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-08 17:32:59 +01:00
David Oberhollenzer 00c8946497 pack: deduce package name from input file name
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-07 15:17:19 +01:00
David Oberhollenzer 4141e666b6 Move file compressors details from command line to desc file instead
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-02-08 11:20:12 +01:00
David Oberhollenzer a32a4cb149 Cleanup: unify input file processing code
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-01-31 22:15:41 +01:00
David Oberhollenzer 04f19bac2f pack: read package name from description
This commit changes the pack command to read the output package name from
the description file instead of the command line. The command line argument
is replaced with a package repository directory to which the package file
is then written.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-01-30 10:40:02 +01:00
David Oberhollenzer 9b18455679 pack: close the input file after reading the package description
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-01-30 10:39:12 +01:00
David Oberhollenzer aab510aa98 Add package header with dependency information
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-01-28 20:01:36 +01:00