Skip to content

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Feb 6, 2021

new packages:

updates packages:

  • sqliteff, elsi, vegetables, erloff, tapenade, strff, iso_varying_string, fortjson, fortran-csv-module, openmolcas, octopus, WHIZARD, MESA, Truchas, quaff, psblas3, ElmerFEM, ogpf, jsonff, parff

new features:

Copy link
Member

@LKedward LKedward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really great @awvwgk, thanks! Changes all look good to me 👍

@LKedward
Copy link
Member

LKedward commented Feb 7, 2021

#build_preview

@github-actions
Copy link

github-actions bot commented Feb 7, 2021

This PR has been built with Jekyll and can be previewed at: https://fortran-lang.org/pr/196/

@LKedward
Copy link
Member

LKedward commented Feb 7, 2021

Hi @awvwgk, are you able to check the effect of these changes on the package search functionality? I think the Gitlab projects now need special attention in the Javascript search.

function resultsToHTML(results){
// Return HTML representation of search results
//
var out = "";
var i;
for (i=0;i<results.length;i++){
if (results[i].score > 0){
project = results[i];
if (results[i].github != "" && !project.fpm){
out += '<h3><a href="https://github.com/'+project.github+'" target="_blank">';
out += '<i class="devicon-github-plain colored"></i> '+project.name+'</a></h3>';
} else {
out += '<h3><a href="'+project.url+'" target="_blank">';
if (project.fpm){
out += '<i class="fas fa-cubes"></i> ';
} else if (project.url.includes('gitlab.com')) {
out += '<i class="devicon-gitlab-plain colored"></i> ';
} else if (project.url.includes('bitbucket.org')){
out += '<i class="devicon-bitbucket-plain colored"></i> ';
}
out += project.name+'</a></h3>';
}
out += '<p> '+project.description;
var cats = project.categories.split(" ");
out += ' ('
var j;
for (j=0;j<cats.length;j++){
out += '<a href="'+fortranLang.baseurl+'/packages/'+cats[j]+'">'+cats[j]+'</a>';
if (j<cats.length-1){
out += ', ';
}
}
out += ') </p>'
out += '<p class="light small"><b>Tags: </b>'+project.tags+'</p>';
}
}
return out;
}

@awvwgk
Copy link
Member Author

awvwgk commented Feb 7, 2021

Seems the search is still finding results, see https://fortran-lang.org/pr/196/packages/search/?query=strff, but not generating the correct links.

@LKedward
Copy link
Member

LKedward commented Feb 7, 2021

Seems the search is still finding results, see https://fortran-lang.org/pr/196/packages/search/?query=strff, but not generating the correct links.

Yep, and it would be nice to retain the Gitlab icons as well 👍

@awvwgk
Copy link
Member Author

awvwgk commented Feb 7, 2021

I got the search working with 8623b32, somewhat tricky to find all the right places to add a new field, but now it seems fine.

@awvwgk
Copy link
Member Author

awvwgk commented Feb 7, 2021

#build_preview

@github-actions
Copy link

github-actions bot commented Feb 7, 2021

This PR has been built with Jekyll and can be previewed at: https://fortran-lang.org/pr/196/

@awvwgk
Copy link
Member Author

awvwgk commented Feb 13, 2021

#delete_preview

@github-actions
Copy link

The preview build for this PR has now been deleted.

@awvwgk
Copy link
Member Author

awvwgk commented Feb 13, 2021

I added a bunch more of packages, mainly formatters I have recommended recently to colleagues and the interface generators discussed on the discourse.

@awvwgk awvwgk added the packages Related to the package index label Feb 14, 2021
@awvwgk awvwgk merged commit d732235 into fortran-lang:master Feb 14, 2021
@awvwgk awvwgk deleted the packages branch February 14, 2021 11:25
AlexisPerry pushed a commit to AlexisPerry/fortran-lang.org that referenced this pull request Sep 29, 2021
- Include gitlab packages correctly in package search
- Add interfacing and formatting packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Related to the package index
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants