#57 Expose the upstream URL as present in the metadata in the JSON returned
Merged 7 years ago by pingou. Opened 7 years ago by pingou.

file modified
+2
@@ -45,6 +45,7 @@ 

      arch = sa.Column(sa.Text)

      summary = sa.Column(sa.Text)

      description = sa.Column(sa.Text)

+     url = sa.Column(sa.Text)

  

      @property

      def basename(self):
@@ -60,6 +61,7 @@ 

              'summary': self.summary,

              'description': self.description,

              'basename': self.basename,

+             'url': self.url,

          }

          return pkg

  

I recommend adding a test for this change, but LGTM otherwise.

Thanks for the review.

This entire project has no tests and would benefit from having some but that will be a task on its own.

Pull-Request has been merged by pingou

7 years ago
Metadata