Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For csv-based project lists, link_url field doesn't update properly #300

Open
verythorough opened this issue Jan 28, 2016 · 1 comment
Open
Labels

Comments

@verythorough
Copy link

Our brigade, OpenSMC, uses a google sheets csv file to curate our project list. For reference, our results in the cfapi can be found here.

Many of our projects don't have websites yet, so the link_url field in the csv is blank. I've discovered that this causes some unintended results in the cfapi, depending on whether fields are (or were) completed in the csv, the project repo (using the Edit button at the top of the repo page), or in the parent repo if the project is forked:

csv link_url project repo homepage (if forked) project parent homepage cfapi link_url working as intended?
filled any any csv value yes
empty (never filled) empty empty or not forked null yes
empty (never filled) filled any repo value maybe?
empty (never filled) empty filled parent value probably not
empty, but previously filled any any last filled csv value no

In one half-hearted attempt, I tried entering "" or null in the csv for two of the projects. Of course, the cfapi just interpreted these as strings and displayed them as such. Now that I've deleted those values, they remain in the cfapi, as described in the last row of the table.

I've taken a peek at run_update.py, but haven't pinpointed the source of the issue yet.

@ondrae ondrae added the bug label Jan 30, 2016
@ondrae
Copy link
Collaborator

ondrae commented Jan 30, 2016

Weird. I'll check it out. In the meantime I reloaded your projects to get rid of that "null". The empty "" is still there for now though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants