Issue 33: Support combination host-file fragments
Status:  Fixed
Owner: ----
Closed:  Apr 2012
Reported by ben%benw...@gtempaccount.com, Apr 21, 2011
In my use case, I have a base set of localhost file mappings that configure my development environment, and occasionally get updated with new subhosts. These are always the same, and always active.

In combination, I then sometimes have overrides of live domains for production systems which toggle between different staging environments and the real thing.

It would be incredibly useful to be able to break apart my hosts files into separate pieces: “Localhost Development”, “Pre-Production 1/2/3” and “Blocked IPs”, for example, and then activate multiple files at once, rather than just a single file. In this case, Gasmask would simply concatenate the files.

This could either work by allowing multiple files in the sidebar to be selected (previewing the concatenated file on the right) and then clicking ‘Activate’ to override /etc/hosts with the combo, and/or alternatively setting some fragments as global (e.g. the localhost dev, or the blocked hosts files) and then keeping them enabled when swapping between other configurations from the menu bar drop down.

…Or a template/include mechanism in the host files themselves…

Erm, there are a few ways to approach this, clearly.

Thanks!
Apr 9, 2012
Project Member #1 2ndal...@gmail.com
(No comment was entered for this change.)
Status: Started
Apr 9, 2012
Project Member #2 2ndal...@gmail.com
(No comment was entered for this change.)
Labels: -Type-Defect Type-Enhancement
Apr 11, 2012
Project Member #3 2ndal...@gmail.com
(No comment was entered for this change.)
Status: Fixed