#764 update atomic download page for f27
Merged 6 years ago by pfrields. Opened 6 years ago by dustymabe.
dustymabe/fedora-websites dusty  into  master

file modified
+2 -2
@@ -21,13 +21,13 @@ 

      'curr_arm_id': '27',

      'curr_alt_id': '27',

      'curr_cloud_id': '27',

-     'curr_atomic_id': '26',

+     'curr_atomic_id': '27',

      'curr_server_id': '26',

      'curr_cloud_AMI_id': '27',

      'next_arm_id': '28',

      'next_alt_id': '28',

      'next_cloud_id': '28',

-     'next_atomic_id': '27',

+     'next_atomic_id': '28',

      'next_server_id': '27',

      'next_cloud_AMI_id': '28',

      'composedate': '20160616',

@@ -67,7 +67,7 @@ 

      """ Retrieve the JSON for a particular page of datagrepper results """

      log.debug("Getting page %i of %s", page, pages)

      params = dict(

-         start=1441402109,  # the timestamp of when we first started doing this

+         delta=2419200, # 4 weeks in seconds

          topic=topic,

          page=page,

          rows_per_page=1,

@@ -50,7 +50,7 @@ 

          #    'PV_base_AMI':      lambda e: e.get('virt_type') == 'paravirtual' and e.get('vol_type') == 'standard',

          #    'GP2_PV_base_AMI':  lambda e: e.get('virt_type') == 'paravirtual' and e.get('vol_type') == 'gp2',

          #}),

-         ("Fedora-Atomic-{curr_cloud_AMI_id}-{atomic_composedate}.x86_64", {

+         ("Fedora-Atomic-{curr_atomic_id}-{atomic_composedate}.x86_64", {

             'HVM_atomic_AMI':     lambda e: e.get('virt_type') == 'hvm' and e.get('vol_type') == 'standard',

             'GP2_HVM_atomic_AMI': lambda e: e.get('virt_type') == 'hvm' and e.get('vol_type') == 'gp2',

          }),

@@ -209,7 +209,7 @@ 

          <div class="row">

              <div class="col-xs-12 top-margin">

                <h3>${_('Atomic Host Images for Vagrant')}</h3>

-                 <p>${Markup(_('Vagrant Boxes for Fedora Atomic Host are available for the VirtualBox and Libvirt providers. You can bring up Fedora Atomic Host in a vagrant box by downloading the images from Fedora or using the vagrant tools to pull the images from &lt;a href="%s"&gt;HashiCorp\'s Atlas&lt;/a&gt;.') % ('https://atlas.hashicorp.com/fedora'))}</p>

+                 <p>${Markup(_('Vagrant Boxes for Fedora Atomic Host are available for the VirtualBox and Libvirt providers. You can bring up Fedora Atomic Host in a vagrant box by downloading the images from Fedora or using the vagrant tools to pull the images from &lt;a href="%s"&gt;HashiCorp\'s Vagrant Cloud&lt;/a&gt;.') % ('https://app.vagrantup.com/fedora'))}</p>

            	  <a href="#" id="openstack-base-click" class="btn btn-success download-cloud" role="button">${_('View Vagrant Downloads')}</a>

  	          <div id="openstack-base-link" class="reveal" style="display: none;">

  	            <div class="row">

  • getfedora: don't search for old autocloud data
  • getfedora: update for f27 atomic host

Pull-Request has been merged by pfrields

6 years ago