Skip to content

APE 22 follow-up: Affiliated Packages site updates #570

Closed

Activity

  1. lwasser commented on Feb 20, 2024

    @lwasser
    Contributor

    hey @pllim @eteq this is the feed that we currently have in place. it is a YAML file that will contain metadata for all packages. it updates automagically via CI every 2 weeks.

    altho at some point i suspect we will move to a database, we can always generate a similar yaml file to ensure workflows don't break. Does that yaml file meet astropy's needs?

    NOTE: i'm going to add a astropy check box to our review template in the next week or two. and then i'll also ensure that yaml file is populated with affiliated for astropy, sunpy, pangeo, etc. We have a bit of time to develop this this back end workflow given we don't have a completed review, yet.

    please just let me know what you need from me here. And please note that i'm creating a master TODO list here to track open issues and pr's. once i have everything in one place i'll try to organize it in a timeline.

  2. pllim commented on Feb 29, 2024

    @pllim
    MemberAuthor

    Given how unresponsive Erik can get sometimes, I might have to bite the bullet and do the website stuff instead (even though that is not my role).

    automagically via CI every 2 week

    Would be nice to have a timestamp on the YAML in case automagic is broken but we don't realize?

    Does that yaml file meet astropy's needs?

    I can make it work. I am not as picky as Erik. I see our friend, SunPy, there. Do you know if SunPy has example code on how they are ingesting this, or any other project, for that matter? Wouldn't want to reinvent the wheel here.

    TODO

    Very useful. Thanks!

  3. lwasser commented on Feb 29, 2024

    @lwasser
    Contributor

    @pllim how is your site built? what creates those html files? and can you help me understand what the time stamp would provide? i don't think anyone besides me is parsing that file right now. Sunpy is part of the pyhc community work that we're doing and they are i think in a bit earlier stage compared to astropy! ie they haven't fully committed yet but i think there is strong interest (like where we were last spring!).

    we use it for our package listing page. it's all liquid / jekyll running that. BUT the partner metadata IS there. sunpy is the first package to have a partner key! AND i will be adding the astropy key for contributors and editors soon as well.

  4. pllim commented on Feb 29, 2024

    @pllim
    MemberAuthor

    The timestamp is for humans, not the parser. I want to know how old is the listing and whether I should bug someone to update it, things like that. I would probably render that info as a "last updated" field in a footnote.

    Currently, our info is stored as JSON and it is ingested using JavaScript that I did not write:

    populatePackageTable('affiliated', filter_pkg_data(data, "coordinated", false));

    I am not looking forward to have to update that code, so if you have a better way, I am all ears!

  5. lwasser commented on Mar 4, 2024

    @lwasser
    Contributor

    @pllim right now we don't have the last updated date in the file. BUT you could easily grab the date from the git history - the last commit. the file is always updated every other week via a ci build. so that is consistent. however sometimes i might push an update sooner especially if i just did some updates to the build and want to test things. so i suppose for now, i'd suggest if it's for humans i'd just look at the file here. and you can see that the file is right was updated 5 days ago. but if you create something automated you could then parse the file itself and grab a date from the commit history.

    unfortunately i'm not very proficient with js. id say i'm dangerous at best :( i wonder if hte person who created that js could help?

  6. lwasser commented on Mar 4, 2024

    @lwasser
    Contributor

    alternatively you could ask in our slack for ideas? i just know i specifically won't be super helpful with js based parsing.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions