Comments (9)
@cosden I took a look and it's working as we expect - the goal of the script wasn't to immediately delete an expired job based on our date, but to delete an expired job with a link that is expired, because if you remember our CI was often failing because of broken links. So what the script does is loop through the current jobs, and regardless of expire or not, if the link is okay the file is kept. This is a more conservative approach to not immediately remove expired jobs because the creator might want to come back and change the date.
from usrse.github.io.
You can look at the commit history and look for "Automated push to update jobs.yml" to see the times when it's found an expired link and removed it https://github.com/USRSE/usrse.github.io/commits/master. And you can look at the Actions tab to see that it is running.
from usrse.github.io.
Ah ok. Thanks @v! I was sure you'd know. I didn't look into it at all, I was just surprised to see so many old jobs still there. I agree that the way it's set up makes sense!
from usrse.github.io.
What do you think about keeping all jobs (regardless of supplied expiration date) if the link is active? Did we have the clean jobs script when we set up the expiration date?
Keeping with the more conservative approach, I think I'd rather err on the side of keeping up any possible open position even if the user supplied expiration date has passed.
from usrse.github.io.
We can't keep jobs that have broken links because the url checker will fail, and we have to check the urls for the file so we can be sure we aren't serving broken links. So to be clear, currently we are conservative and try to keep all jobs, unless the url is 404, which isn't super useful to keep anyway (as the job has been removed).
from usrse.github.io.
So you want to remove the expiration date check entirely? Just display whatever jobs are there?
from usrse.github.io.
So you want to remove the expiration date check entirely? Just display whatever jobs are there?
That's what I'm wondering. Removing broken links is important, but I'm trying to decide what purpose having a user supplied expiration date serves. If I just removed 4 jobs that "expired" in July but are still active postings, they could have been on the site for 3 months getting eyes on them. I'm trying to think of the downside. Jobs are filled but links never break? Does that happen? If so, maybe suggest a very distant expiration date, e.g. 9-12 months.
The jobs page is the most frequently viewed page (after the home page) on the site, so I think it's worth trying to get and keep as many jobs as possible there.
from usrse.github.io.
Let’s try it! I’ll open a PR tomorrow.
from usrse.github.io.
Moving forward we'll set expiration dates far in advance. For now done in #308.
from usrse.github.io.
Related Issues (20)
- "Add to Calendar" creates entries at the wrong time HOT 12
- Add a page on RSE internship opportunities HOT 2
- New data source for membership counts
- Recommended format for listing times in multiple timezones HOT 4
- Adding speaker series HOT 4
- Add style guide to README HOT 1
- Make preview links on PRs more prominant? HOT 2
- Add wikipedia links to skills? HOT 1
- Facebook and LinkedIn "Share buttons" on blog posts are broken HOT 4
- Footnotes font size is too small to read comfortably HOT 1
- Make transparency log easier to find HOT 2
- Add link to YouTube Channel in Footer HOT 4
- Make Affinity Groups Easier to Find
- Should we use the all-contributors bot on this site? HOT 1
- Change titles/text on repeating community call events so they don't look like duplicates HOT 1
- Allow future posts, maybe just for some collections?
- Issue with CircleCI previews HOT 1
- meta post on 2022 Community Building Workshop that links to all other posts HOT 2
- The menu bar is wider than the minimum width which makes the support and join buttons invisible at some widths HOT 2
- Show election candidates in varying order HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usrse.github.io.