18F / development-guide

A set of guidelines and best practices for an awesome software engineering team
https://engineering.18f.gov
Other
1.25k stars 122 forks source link

Ruby guide "recommended Rubocop configuration" is 404 #179

Closed aduth closed 4 years ago

aduth commented 4 years ago

Steps to reproduce:

  1. Navigate to https://engineering.18f.gov/ruby/
  2. Click "recommended Rubocop configuration"

Expected: See configuration Actual: 404

Debugging:

The page is generated to the expected path, but likely because it's prefixed with . is treated as a hidden file and not publicly available (?)

Possible solutions:

ryanhofdotgov commented 4 years ago

Thanks! Looks like it is a limitation of the Federalist mechanism for publishing to S3, it ignores all dotfiles except for .well-known/security.txt. The file is correctly served locally (and is explicitly included in _config.yml). I'll implement one of those work-arounds.

ryanhofdotgov commented 4 years ago

Resolved in #190