chaoss / chaoss/CollectOSS

Facade: deleted files only have a filename of `(Deleted) `

Open
#259 2 comments 0 reactions 0 assignees View on GitHub
data issues task:facade
Dominant language
Python
Stars
13
Forks
17
Avg merge
6h 59m
Merged PRs (30d)
1

Description

> [!NOTE]
> Migrated from [augurlabs/augur#3789](https://github.com/augurlabs/augur/issues/3789)
> Originally opened by `@MoralCode` on 2026-03-25

---

https://github.com/chaoss/augur/blob/49a008ab97c43472339e400cb316a5323110d78d/augur/tasks/git/util/facade_worker/facade_worker/analyzecommit.py#L234-L247

The facade processing code looks for lines in the output for the git commands it runs

specifically it looks for lines based on python's `startswith`.

while investigating the output of the command being run by augur (in this case `git log -p -M HEAD -n1 --pretty=format:'author_name: %an%nauthor_email: %ae%nauthor_date:%ai%ncommitter_name: %cn%ncommitter_email: %ce%ncommitter_date: %ci%nparents: %p%nEndPatch'`

https://github.com/chaoss/augur/blob/49a008ab97c43472339e400cb316a5323110d78d/augur/tasks/git/util/facade_worker/facade_worker/analyzecommit.py#L152-L164

I noticed the actual output doesnt match the parser code.

Actual output

This is partial output from the pytorch repo with HEAD at 4504c3dcee3c02886fae3340a8ee268717c6cb32
```
author_name: Tugsbayasgalan Manlaibaatar
author_email: tmanlaibaatar@fb.com
author_date:2026-02-12 08:46:51 -0800
committer_name: PyTorch MergeBot
committer_email: pytorchmergebot@users.noreply.github.com
committer_date: 2026-02-13 18:19:52 +0000
parents: 976d4eea6ab
EndPatch
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_exhaustive_nanquantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_exhaustive_nanquantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_exhaustive_quantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_exhaustive_quantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_fake_exhaustive_nanquantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_fake_exhaustive_nanquantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_fake_exhaustive_quantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_fake_exhaustive_quantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_inplace_nanquantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_inplace_nanquantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_inplace_quantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_inplace_quantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_nanquantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_nanquantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_out_nanquantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_out_nanquantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_out_quantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_out_quantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_quantile_cpu_float32 b/test/dynamo_skips/TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_quantile_cpu_float32
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/export/test_export.py b/test/export/test_export.py
index 7b51cda83e7..dc9f720f716 100755
--- a/test/export/test_export.py
+++ b/test/export/test_export.py
```

Notice that files that are entirely deleted do not conform to the same `--- a/` and `+++ b/` naming convention in the diff.

This leads to the `cmt_filename` in the commits table being inserted as simply `(Deleted) ` (yes with the trailing space).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.