Uploaded image for project: 'Jenkins Website'
  1. Jenkins Website
  2. WEBSITE-309

Create 'New Plugins' top list on index page

    Details

    • Type: New Feature
    • Status: Done (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: plugin-site
    • Labels:
      None
    • Similar Issues:

      Description

      It would be nice to showcase newly released plugins (i.e. those that didn't exist until recently) as a new column to the index page (or replacing the static and boring 'Most installed' one).

        Attachments

          Issue Links

            Activity

            Hide
            mmccaskill Michael McCaskill added a comment -

            Daniel Beck - In determining if a plugin is new what's the most reliable method? I'm guessing there will be a releaseTimestamp but not a previousTimestamp. But then if that's the case that needs to be compared to today's date. Maybe if added 30 days or less?

            Show
            mmccaskill Michael McCaskill added a comment - Daniel Beck - In determining if a plugin is new what's the most reliable method? I'm guessing there will be a releaseTimestamp but not a previousTimestamp. But then if that's the case that needs to be compared to today's date. Maybe if added 30 days or less?
            Hide
            mmccaskill Michael McCaskill added a comment -

            I have answered my own question based on testing the data from the update center.

            Show
            mmccaskill Michael McCaskill added a comment - I have answered my own question based on testing the data from the update center.
            Hide
            mmccaskill Michael McCaskill added a comment -

            Testing locally shows only 5 created with 30 days. Not sure if we want to consider more than 30 days.

            Show
            mmccaskill Michael McCaskill added a comment - Testing locally shows only 5 created with 30 days. Not sure if we want to consider more than 30 days.
            Hide
            danielbeck Daniel Beck added a comment -

            Using release-history.json is probably the best approach here. The regular update-center.json indicates whether the current version is the first release, but if someone releases two versions of a new plugin in quick succession, it wouldn't count even though it should.

            Show the ten newest plugins, from newest (top) to not quite as new (bottom), independent how long ago those were released.

            Show
            danielbeck Daniel Beck added a comment - Using release-history.json is probably the best approach here. The regular update-center.json indicates whether the current version is the first release, but if someone releases two versions of a new plugin in quick succession, it wouldn't count even though it should. Show the ten newest plugins, from newest (top) to not quite as new (bottom), independent how long ago those were released.
            Hide
            mmccaskill Michael McCaskill added a comment -

            Ah ok great. I appreciate that. I'll work to incorporate this into the data. Thanks!

            Show
            mmccaskill Michael McCaskill added a comment - Ah ok great. I appreciate that. I'll work to incorporate this into the data. Thanks!
            Hide
            mmccaskill Michael McCaskill added a comment -

            Ok latest screenshot attached. Seems to pair up with the release-history.json. I did discover that "gav" isn't always present but I think it's only a few times.

            Show
            mmccaskill Michael McCaskill added a comment - Ok latest screenshot attached. Seems to pair up with the release-history.json. I did discover that "gav" isn't always present but I think it's only a few times.
            Hide
            danielbeck Daniel Beck added a comment -

            Based on the recent hosting requests I've seen this seems right. Awesome! Reviewing PRs now…

            Show
            danielbeck Daniel Beck added a comment - Based on the recent hosting requests I've seen this seems right. Awesome! Reviewing PRs now…
            Hide
            mmccaskill Michael McCaskill added a comment -

            PRs have been merged to develop.

            Show
            mmccaskill Michael McCaskill added a comment - PRs have been merged to develop.

              People

              • Assignee:
                mmccaskill Michael McCaskill
                Reporter:
                danielbeck Daniel Beck
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: