prior-art-archive / priorartarchive.org

Prior Art Archive Site
https://priorartarchive.org
GNU General Public License v2.0
3 stars 1 forks source link

Move away from code level versioning checks #23

Open slifty opened 5 years ago

slifty commented 5 years ago

Right now there are certain features that are revealed based on what server is serving the code (e.g. the isV2 checks). We'd like to get rid of this code level special casing and control feature elevation / exposure through branching and CI logic.

This issue captures the task of ensuring that the existing branch / CI infrastructure meets those needs (I believe it does, and once we merge dev to master we'll be in fine shape), as well as the removal of special casing within the code.

reefdog commented 5 years ago

Matrix of environments and versions, just for explictness.

dev master
V1 dev.priorartarchive.org www.priorartarchive.org
V2 dev-v2.priorartarchive.org, localhost v2.priorartarchive.org

image