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
We could use Files.createDirectories(Path) for this.
If multiple Debian files are created in on project, the deb property must be set for each execution, otherwise they will overwrite each other. The same is true for the changesOut property. If you don't need the changes files, you either get ONE useless file or you have to overwrite the changesOut property. For this reason I suggested creating the file name from the Debian file name.
If I get an option to disable the creation of the changes file we can leave the rest as is and I'm fine. However, the directory for the change file should be created first.
We could use Files.createDirectories(Path) for this.
+1
If multiple Debian files are created in on project, the deb property must be set for each execution, otherwise they will overwrite each other. The same is true for the changesOut property. If you don't need the changes files, you either get ONE useless file or you have to overwrite the changesOut property. For this reason I suggested creating the file name from the Debian file name.
But I am not even sure there are (m)any people create multiple Debian packages from a single maven project. And switching to the Debian file would be a breaking change. If we could find a migration path I might be open to the idea though.
If I get an option to disable the creation of the changes file we can leave the rest as is and I'm fine.
Since a changes files is optional I am happy to have switch for it.
However, the directory for the change file should be created first.
Shall I create a PR for this?
The file stream is opened without ensuring that the parent directory for the changes file exists.
I'd also suggest to remove the default value for this parameter to get the same behavior as if the the DebMaker is used directly (use the name of the Debian file and not the artifact id).
What about a property to disable the generation of the changes file at all?
The text was updated successfully, but these errors were encountered: