mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2024-03-11
This commit is contained in:
@ -19,7 +19,7 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2024-03/" />
|
||||
<meta property="article:published_time" content="2024-03-01T09:55:00+03:00" />
|
||||
<meta property="article:modified_time" content="2024-03-08T17:31:19+03:00" />
|
||||
<meta property="article:modified_time" content="2024-03-11T18:04:40+03:00" />
|
||||
|
||||
|
||||
|
||||
@ -44,9 +44,9 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808
|
||||
"@type": "BlogPosting",
|
||||
"headline": "March, 2024",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2024-03/",
|
||||
"wordCount": "450",
|
||||
"wordCount": "512",
|
||||
"datePublished": "2024-03-01T09:55:00+03:00",
|
||||
"dateModified": "2024-03-08T17:31:19+03:00",
|
||||
"dateModified": "2024-03-11T18:04:40+03:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -211,6 +211,12 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">BEGIN</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">DELETE</span> <span style="color:#66d9ef">FROM</span> metadatavalue <span style="color:#66d9ef">WHERE</span> dspace_object_id <span style="color:#66d9ef">IN</span> (<span style="color:#66d9ef">SELECT</span> uuid <span style="color:#66d9ef">FROM</span> item) <span style="color:#66d9ef">AND</span> text_value<span style="color:#f92672">=</span><span style="color:#e6db74">'N/A'</span> <span style="color:#66d9ef">AND</span> metadata_field_id<span style="color:#f92672">=</span><span style="color:#ae81ff">146</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">COMMIT</span>;
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>I deployed the change to disable Angular SSR’s <code>inlineCriticalCss</code> on production because we had heavy load on the frontend and I’ve been meaning to do this permanently for some time</li>
|
||||
<li>Maria asked me for a CSV with all the broken Bioversity permalinks so I exported them for her:</li>
|
||||
</ul>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>$ csvcut -c <span style="color:#e6db74">'id,dc.title[en_US],dc.identifier.uri[en_US],cg.link.permalink[en_US]'</span> ~/Downloads/2024-03-05-cgspace.csv <span style="color:#ae81ff">\
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#ae81ff"></span> | csvgrep -c 'cg.link.permalink[en_US]' -r '^.+$' > /tmp/2024-03-11-Bioversity-Permalinks.csv
|
||||
</span></span></code></pre></div><!-- raw HTML omitted -->
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user