Skip to content

Instantly share code, notes, and snippets.

@totten
Forked from colemanw/gist:4f00dc8892e1ad449f81
Last active August 29, 2015 14:08
Show Gist options
  • Save totten/3d03927cb490a4faaf97 to your computer and use it in GitHub Desktop.
Save totten/3d03927cb490a4faaf97 to your computer and use it in GitHub Desktop.
// Currently going to latest.civicrm.org/stable.php outputs:
4.5.2
// Proposed new output (B)
[
{version: "4.4.0"},
{version: "4.4.1"},
{version: "4.4.2", security: true}
{version: "4.5.0"},
{version: "4.5.1"},
{version: "4.5.2", security: true}
...
]
// Proposed new layout (C)
[
"4.4": [
{version: "4.4.0"},
{version: "4.4.1"},
{version: "4.4.2", security: true}
},
"4.5":
{version: "4.5.0"},
{version: "4.5.1"},
{version: "4.5.2", security: true}
]
...
]
@totten
Copy link
Author

totten commented Dec 13, 2014

Let's move further discussion to https://issues.civicrm.org/jira/browse/CRM-13672 since gist doesn't support email notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment