Closed Bug 1386336 Opened 2 years ago Closed 2 years ago
.txt at checksetup .pl from a template
Compare: https://bugzilla.mozilla.org/robots.txt https://bugzilla-dev.allizom.org/robots.txt As a result of this, dev and prod are forks of each other. Ideally, robots.txt would be a template and be generated by checksetup.pl (like several other files). The SITEMAP stuff would be a template hook in the SiteMap extension.
outline: - Add an entry for 'robots.txt' to https://github.com/mozilla-bteam/bmo/blob/master/Bugzilla/Install/Filesystem.pm#L407 - remove robots.txt from VCS - new template global/robots.txt.tmpl (based on current robots.txt, minus the SiteMap line) - add a template hook to the end of the above template. Look for examples in the existing template files, something like Hook.process()... - add new template hook (somewhere, we'll discuss/grep the code together)
Attachment #8893641 - Flags: review+
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.