-
Notifications
You must be signed in to change notification settings - Fork 9
Editing Old Rule Pages in Archive
Jeoffrey Fischer [SSW] edited this page Aug 13, 2024
·
26 revisions
When the old SSW Website V1 was migrated to the new SSW Website, many of the old Rules pages were archived as static HTML at www.ssw.com.au/archive. Some of this content might still be relevant.
To keep track of which Rules are migrated from www.ssw.com.au/archive to www.ssw.com.au/rules, we should add a note with an emoji in the relevant Rule's HTML file.
The emojis that can be used are the following:
- ✅ Migrated to {{ LINK TO RULE }}
- 🗒️ Archived to {{ LINK TO RULE }}
- ⌛ Pending Review from {{ REVIEWER NAME }}
- ❌ Not Migrated because {{ REASON }}
-
Access the Repository:
Go to the repository where the archived rules are stored: SSW.Website-v1-Progress - Navigate to the Rule that needs to be edited.
💡 Tip: use the page URL to navigate more easily.
✏️ Example: if the Rule is under www.ssw.com.au/archive/standards/rules/rules-to-better-sql-reporting-services.html
then navigate to SSW.Website-v1-Progress | archive | standards | rules | rules-to-better-sql-reporting-services.html - Click the "✏️ Edit this file" button in the top-right corner
- Make changes on the page. This is where you can add emojis ✅🗒️⌛❌ and details as shown in the previous section.
- Click "Commit changes" in the top-right corner
- Write a commit message
- If your changes are small, commit directly to main
If your changes are big, create a new branch, create a pull request and get it checked by another Dev - Click on "Squash and Merge"
You should see your changes in a couple minutes.
Below is an example of some rules that have been updated with an emoji
Figure: Old rules stored as HTML under /archive with an added line to help tracking