Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

.lock files show up in directory listings

未關閉
#1,485 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
javascript, nodejs
領域
backend

研究方向

Issue 中未指定來源檔案或測試。先檢查目錄列出行為以及 #1475 中參照的磁碟鎖定工作,然後使用回報的 Turtle 清單作為重現目標。當暫時的 .lock 項目不再出現在清單中,而一般資源仍然存在時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

bug

This bug is hard to reproduce timing-wise, but I have received at least one directory listing containing a .lock file.

For reference, this is what it looked like:

@prefix : <#>.
@prefix inbox: <>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix terms: <http://purl.org/dc/terms/>.
@prefix XML: <http://www.w3.org/2001/XMLSchema#>.
@prefix dcd: <dcd04010-0722-11eb-aaa1-f5587892eb36.ttl.lock/>.
@prefix st: <http://www.w3.org/ns/posix/stat#>.
@prefix tur: <http://www.w3.org/ns/iana/media-types/text/turtle#>.

inbox:
    a ldp:BasicContainer, ldp:Container;
    terms:modified "2020-10-05T19:22:19Z"^^XML:dateTime;
    ldp:contains
        <378f8150-0728-11eb-aaa1-f5587892eb36.ttl>,
        <4870d3e0-073f-11eb-aaa1-f5587892eb36.ttl>,
        <92f0e640-073e-11eb-aaa1-f5587892eb36.ttl>,
        <abf84aa0-0731-11eb-aaa1-f5587892eb36.ttl>,
        <dcd04010-0722-11eb-aaa1-f5587892eb36.ttl>, dcd:;
    st:mtime 1601925739.707;
    st:size 4096.
<378f8150-0728-11eb-aaa1-f5587892eb36.ttl>
    a tur:Resource, ldp:Resource;
    terms:modified "2020-10-05T16:31:27Z"^^XML:dateTime;
    st:mtime 1601915487.715;
    st:size 531.
<4870d3e0-073f-11eb-aaa1-f5587892eb36.ttl>
    a tur:Resource, ldp:Resource;
    terms:modified "2020-10-05T19:16:34Z"^^XML:dateTime;
    st:mtime 1601925394.459;
    st:size 552.
<92f0e640-073e-11eb-aaa1-f5587892eb36.ttl>
    a tur:Resource, ldp:Resource;
    terms:modified "2020-10-05T19:11:29Z"^^XML:dateTime;
    st:mtime 1601925089.955;
    st:size 552.
<abf84aa0-0731-11eb-aaa1-f5587892eb36.ttl>
    a tur:Resource, ldp:Resource;
    terms:modified "2020-10-05T17:39:08Z"^^XML:dateTime;
    st:mtime 1601919548.486;
    st:size 531.
<dcd04010-0722-11eb-aaa1-f5587892eb36.ttl>
    a tur:Resource, ldp:Resource;
    terms:modified "2020-10-05T15:53:07Z"^^XML:dateTime;
    st:mtime 1601913187.983;
    st:size 531.
dcd:
    a ldp:BasicContainer, ldp:Container, ldp:Resource;
    terms:modified "2020-10-05T19:22:19Z"^^XML:dateTime;
    st:mtime 1601925739.711;
    st:size 4096.

Note how it ends with .lock/ as opposed to just .lock, which might be the reason why it is not caught.

Should be fixed when not using on-disk locking anymore (#1475), but wanted to mention this in case there would be issues with other magic extensions.

主要語言
JavaScript
星號
1.8k
分支
308
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

nodeSolidServer/node-solid-server 的其他 Issue

查看 nodeSolidServer/node-solid-server 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。