Skip to content
Snippets Groups Projects
Commit dcc4fe23 authored by Quentin Bramas's avatar Quentin Bramas
Browse files

split distributed and software community

parent c121a1c0
Branches
No related merge requests found
......@@ -25,11 +25,12 @@ export async function init() {
throw new Error('Cannot fetch db version form https://git.unistra.fr/bramas/s-rank/-/raw/master/db.version');
}
const version = await res.text();
console.log('latest db version', version);
let need_download = false;
if(!fs.existsSync(dbVersionPath) || fs.readFileSync(dbVersionPath, 'utf8').trim() != version.trim()) {
need_download = true;
fs.writeFileSync(dbVersionPath, version);
console.log('local version:', fs.existsSync(dbVersionPath) ? fs.readFileSync(dbVersionPath, 'utf8').trim() : 'no local version');
}
console.log('Checking database version (need update ? ', need_download, ')');
......
......@@ -24,6 +24,11 @@ function generateDefaultCommunities() {
//generateDefaultCommunities();
export default {
cs: {
slug: 'cs',
name: 'Computer Science',
query: 'SELECT author_id FROM authors_conferences as AV WHERE AV.year >= :from_year AND AV.year <= :to_year'
},
art: {
slug: 'art',
name: 'Artificial intelligence',
......@@ -72,11 +77,22 @@ export default {
slug: 'dis',
name: 'Distributed computing and systems software',
conferences: [
'conf/hpca', 'conf/infocom',
'conf/ipsn', 'conf/mobicom',
'conf/osdi', 'conf/podc',
'conf/rtss', 'conf/sensys',
'conf/sigcomm', 'conf/sosp',
'conf/infocom',
'conf/mobicom',
'conf/podc',
'conf/sigcomm',
]
},
sys: {
slug: 'sys',
name: 'Systems software',
conferences: [
'conf/hpca',
'conf/ipsn',
'conf/osdi',
'conf/rtss',
'conf/sensys',
'conf/sosp',
'conf/www'
]
},
......
......@@ -9,15 +9,7 @@ export default function About() {
</h1>
<Counter />
<p class="mt-8">
Visit{" "}
<A
href="https://solidjs.com"
target="_blank"
class="text-sky-600 hover:underline"
>
solidjs.com
</A>{" "}
to learn how to build Solid apps.
<A href="/">Go to Home</A>
</p>
<p class="my-4">
<A href="/" class="text-sky-600 hover:underline">
......
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment