[INSTRM-43] [dnsmasq] Change branch from master to sites (LAM, JHU) Created: 17/Dec/16 Updated: 29/Jun/17 Resolved: 29/Jun/17 |
|
| Status: | Won't Fix |
| Project: | Instrument control development |
| Component/s: | ics_dnsmasq |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | shimono | Assignee: | shimono |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | dnsmasq-production | ||||||||
| Description |
|
To be prepared of hardware delivery to Subaru assumed to be started from early 2017, we need to change current master to jhu (or something) and to have master as configuration on site. |
| Comments |
| Comment by shimono [ 11/Jan/17 ] |
|
-I shall file another ticket for above comment (and validation)... |
| Comment by cloomis [ 25/Jan/17 ] |
|
I have pulled JHU-only files into a JHU branch. |
| Comment by shimono [ 25/Jan/17 ] |
|
From slack conversation, what Craig is doing is not the one as ticket description targets. |
| Comment by shimono [ 07/Feb/17 ] |
|
arnaud.lefur fmadec |
| Comment by cloomis [ 28/Apr/17 ] |
|
In general, I don't think branches will need to have much content. One observation is that any given piece of networked hardware can only be at one site, so master can be (and I think should be) the sole branch for all flight hardware (hardware to be part of the final instrument at Subaru). Any hardware which is used with the expectation that it will eventually be delivered to Subaru should be on master. Except for machine.conf, any of the site branches should always be able to merge from master w/o conflicts. If we agree to keep our strange site and commissioning hosts in site-named files on site-named branches there should not be much trouble. |
| Comment by rhl [ 28/Apr/17 ] |
|
I agree with Craig here. You can handle branches pretty easily with git (`git rebase master`), but there will be conflicts every time any one changes the config file on master, and I think that there is only marginal gain. How many site files are really involved? Why not put them in a sites subdirectory, and use a symbolic link as part of closing the package? |
| Comment by shimono [ 02/May/17 ] |
|
I don't understand why you are commenting here but not |
| Comment by arnaud.lefur [ 02/May/17 ] |
|
I think I like this site-named branches, that is may be a bit brutal and not very fancy but that's pragmatical, it's the configuration which has been used at a given time. In a ideal world, you just merge LAM branche with master, plug the SM1 in and "Voila" ! |
| Comment by cloomis [ 23/Jun/17 ] |
|
We (Atsushi, Arnaud, and I) discussed this yesterday, and I believe that we agreed NOT to use branches. Instead, each site can have a site-specific directory, to which each of us makes a link. That directory should contain all and only the local and non-deliverable hosts, as well as any site-specific configuration (external DNS server, internal interface name, etc). This will probably require some tweaking of the slightly peculiar dnsmasqd options which tell the program which configuration files and directories to load. |
| Comment by shimono [ 29/Jun/17 ] |
|
now we tend not to use branches for site management, so just closing this as WONTFIX and will have another ticket for work when we agreed on |