BACKGROUND NOTE:
I have a local headless git server (a jail on my server running git) which I normally push/pull to/from.
I created a tool, and I was nudged to create a port for it, and I started exploring the porter's handbook. I believe I have a fairly good handle on what my port's makefile will needs to be, but I was pulled into a side-tangent because of a warning in the handbook: "...Please switch to release assets...".
Q1: Clarification: 'release asset' means that I should provide a .tar.gz for my port's makefile to download? If so, I was going to push a release to a github mirror of my project repo for my port's makefile to download from.
In anticipation of a yes to this question, last night I created a few scripts to "build" and "package" which I plan to use to deploy to the github mirror with a server side git hook. I am now able to build a "FreeBSD package" (aka: tar.gz of my bin's and man pages) but I am starting to get to the point where I have to make other assumptions about my planned workflow.
EG 'package' layout:
And NOTE: My plan was to use (git) Example #17 and using the commit hash for a version number (still haven't worked/tested this aspect out fully yet though).
Q2: What happens after I submit the port? -i.e. do I become the maintainer of the port and does that mean I would have commit privileges?
Q3: Is that repo using git? If not do I need another application and/or just provide patches?
Here is a rough automation diagram I have in mind because of that 'release asset' note:
I probably should have used jenkins or something like that but I'm here now...
Any help/info appreciated! Especially because I feel a little behind the eight-ball now/because of this side tangent--but at least I have a git hook based build infrastructure now.
I have a local headless git server (a jail on my server running git) which I normally push/pull to/from.
I created a tool, and I was nudged to create a port for it, and I started exploring the porter's handbook. I believe I have a fairly good handle on what my port's makefile will needs to be, but I was pulled into a side-tangent because of a warning in the handbook: "...Please switch to release assets...".
Q1: Clarification: 'release asset' means that I should provide a .tar.gz for my port's makefile to download? If so, I was going to push a release to a github mirror of my project repo for my port's makefile to download from.
In anticipation of a yes to this question, last night I created a few scripts to "build" and "package" which I plan to use to deploy to the github mirror with a server side git hook. I am now able to build a "FreeBSD package" (aka: tar.gz of my bin's and man pages) but I am starting to get to the point where I have to make other assumptions about my planned workflow.
EG 'package' layout:
Code:
/bin/binary
/share/man/man#/binary.#
And NOTE: My plan was to use (git) Example #17 and using the commit hash for a version number (still haven't worked/tested this aspect out fully yet though).
Q2: What happens after I submit the port? -i.e. do I become the maintainer of the port and does that mean I would have commit privileges?
Q3: Is that repo using git? If not do I need another application and/or just provide patches?
Here is a rough automation diagram I have in mind because of that 'release asset' note:
Code:
push -> build script -> pack script -> update port makefile -> ?
|
+-> push release to github.
I probably should have used jenkins or something like that but I'm here now...
Any help/info appreciated! Especially because I feel a little behind the eight-ball now/because of this side tangent--but at least I have a git hook based build infrastructure now.