Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Update links to FreeDesktop's Trash spec #490

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

ccjmne
Copy link
Contributor

@ccjmne ccjmne commented Sep 28, 2024

Keeping it pinned to 1.0.

Fixes #489

@ccjmne
Copy link
Contributor Author

ccjmne commented Sep 28, 2024

Output of make:

python scripts/main.py generate
nvim --headless --noplugin -u /dev/null -c 'set runtimepath+=.' -c 'lua print(vim.json.encode(require("oil.actions")._get_actions()))' +qall
nvim --headless --noplugin -u /dev/null -c 'set runtimepath+=.' -c 'lua print(vim.json.encode(require("oil")._get_highlights()))' +qall
python scripts/main.py lint
python scripts/main.py lint
luacheck lua tests --formatter plain
stylua --check lua tests
./scripts/nvim-typecheck-action/typecheck.sh --workdir scripts/nvim-typecheck-action lua
./run_tests.sh
Already up to date.
Scheduling: tests/parser_spec.lua
Scheduling: tests/regression_spec.lua
Scheduling: tests/files_spec.lua
Scheduling: tests/trash_spec.lua
Scheduling: tests/select_spec.lua
Scheduling: tests/win_options_spec.lua
Scheduling: tests/altbuf_spec.lua
Scheduling: tests/move_rename_spec.lua
Scheduling: tests/url_spec.lua
Scheduling: tests/mutator_spec.lua
Scheduling: tests/path_spec.lua

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/path_spec.lua	
�[32mSuccess�[0m	||	pathutil calculates parent path	
�[32mSuccess�[0m	||	pathutil calculates basename	
	
�[32mSuccess: �[0m	2	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/url_spec.lua	
�[32mSuccess�[0m	||	url get_url_for_path	
	
�[32mSuccess: �[0m	1	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/move_rename_spec.lua	
�[32mSuccess�[0m	||	update_moved_buffers Renames moved buffers	
�[32mSuccess�[0m	||	update_moved_buffers Renames moved buffers when they are normal files	
�[32mSuccess�[0m	||	update_moved_buffers Renames directories	
�[32mSuccess�[0m	||	update_moved_buffers Renames subdirectories	
�[32mSuccess�[0m	||	update_moved_buffers Renames subfiles	
�[32mSuccess�[0m	||	update_moved_buffers Renames subfiles when they are normal files	
	
�[32mSuccess: �[0m	6	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/files_spec.lua	
�[32mSuccess�[0m	||	files adapter tmpdir creates files and asserts they exist	
�[32mSuccess�[0m	||	files adapter Creates files	
�[32mSuccess�[0m	||	files adapter Creates directories	
�[32mSuccess�[0m	||	files adapter Deletes files	
�[32mSuccess�[0m	||	files adapter Deletes directories	
�[32mSuccess�[0m	||	files adapter Moves files	
�[32mSuccess�[0m	||	files adapter Moves directories	
�[32mSuccess�[0m	||	files adapter Copies files	
�[32mSuccess�[0m	||	files adapter Recursively copies directories	
�[32mSuccess�[0m	||	files adapter Editing a new oil://path/ creates an oil buffer	
�[32mSuccess�[0m	||	files adapter Editing a new oil://file.rb creates a normal buffer	
	
�[32mSuccess: �[0m	11	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/mutator_spec.lua	
�[32mSuccess�[0m	||	mutator build actions empty diffs produce no actions	
�[32mSuccess�[0m	||	mutator build actions constructs CREATE actions	
�[32mSuccess�[0m	||	mutator build actions constructs DELETE actions	
�[32mSuccess�[0m	||	mutator build actions constructs COPY actions	
�[32mSuccess�[0m	||	mutator build actions constructs MOVE actions	
�[32mSuccess�[0m	||	mutator build actions correctly orders MOVE + CREATE	
�[32mSuccess�[0m	||	mutator build actions resolves MOVE loops	
�[32mSuccess�[0m	||	mutator order actions Creates files inside dir before move	
�[32mSuccess�[0m	||	mutator order actions Moves file out of parent before deleting parent	
�[32mSuccess�[0m	||	mutator order actions Handles parent child move ordering	
�[32mSuccess�[0m	||	mutator order actions Handles a delete inside a moved folder	
�[32mSuccess�[0m	||	mutator order actions Detects move directory loops	
�[32mSuccess�[0m	||	mutator order actions Detects copy directory loops	
�[32mSuccess�[0m	||	mutator order actions Detects nested copy directory loops	
�[32mSuccess�[0m	||	mutator order actions change applies CHANGE after CREATE	
�[32mSuccess�[0m	||	mutator order actions change applies CHANGE after COPY src	
�[32mSuccess�[0m	||	mutator order actions change applies CHANGE after COPY dest	
�[32mSuccess�[0m	||	mutator order actions change applies CHANGE after MOVE dest	
�[32mSuccess�[0m	||	mutator perform actions creates new entries	
�[32mSuccess�[0m	||	mutator perform actions deletes entries	
�[32mSuccess�[0m	||	mutator perform actions moves entries	
�[32mSuccess�[0m	||	mutator perform actions copies entries	
	
�[32mSuccess: �[0m	22	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/parser_spec.lua	
�[32mSuccess�[0m	||	parser detects new files	
�[32mSuccess�[0m	||	parser detects new directories	
�[32mSuccess�[0m	||	parser detects new links	
�[32mSuccess�[0m	||	parser detects deleted files	
�[32mSuccess�[0m	||	parser detects deleted directories	
�[32mSuccess�[0m	||	parser detects deleted links	
�[32mSuccess�[0m	||	parser ignores empty lines	
�[32mSuccess�[0m	||	parser errors on missing filename	
�[32mSuccess�[0m	||	parser errors on empty dirname	
�[32mSuccess�[0m	||	parser errors on duplicate names	
�[32mSuccess�[0m	||	parser errors on duplicate names for existing files	
�[32mSuccess�[0m	||	parser ignores new dirs with empty name	
�[32mSuccess�[0m	||	parser parses a rename as a delete + new	
�[32mSuccess�[0m	||	parser detects a new trailing slash as a delete + create	
�[32mSuccess�[0m	||	parser detects renamed files that conflict	
�[32mSuccess�[0m	||	parser views link targets with trailing slashes as the same	
	
�[32mSuccess: �[0m	16	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/select_spec.lua	
�[32mSuccess�[0m	||	oil select opens file under cursor	
�[32mSuccess�[0m	||	oil select opens file in new tab	
�[32mSuccess�[0m	||	oil select opens file in new split	
�[32mSuccess�[0m	||	oil select opens multiple files in new tabs	
�[32mSuccess�[0m	||	oil select opens multiple files in new splits	
�[32mSuccess�[0m	||	oil select close after open same window	
�[32mSuccess�[0m	||	oil select close after open split	
�[32mSuccess�[0m	||	oil select close after open tab	
	
�[32mSuccess: �[0m	8	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/win_options_spec.lua	
�[32mSuccess�[0m	||	window options Restores window options on close	
�[32mSuccess�[0m	||	window options Restores window options on edit	
�[32mSuccess�[0m	||	window options Restores window options on split <filename>	
�[32mSuccess�[0m	||	window options Restores window options on split	
�[32mSuccess�[0m	||	window options Restores window options on tabnew <filename>	
�[32mSuccess�[0m	||	window options Restores window options on tabnew	
�[32mSuccess�[0m	||	window options Sets the window options when re-entering oil buffer	
	
�[32mSuccess: �[0m	7	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/altbuf_spec.lua	
�[32mSuccess�[0m	||	Alternate buffer sets previous buffer as alternate	
�[32mSuccess�[0m	||	Alternate buffer sets previous buffer as alternate when editing url file	
�[32mSuccess�[0m	||	Alternate buffer sets previous buffer as alternate when editing oil://	
�[32mSuccess�[0m	||	Alternate buffer preserves alternate buffer if editing the same file	
�[32mSuccess�[0m	||	Alternate buffer preserves alternate buffer if discarding changes	
�[32mSuccess�[0m	||	Alternate buffer sets previous buffer as alternate after multi-dir hops	
�[32mSuccess�[0m	||	Alternate buffer sets previous buffer as alternate when inside oil buffer	
�[32mSuccess�[0m	||	Alternate buffer preserves alternate when traversing oil dirs	
�[32mSuccess�[0m	||	Alternate buffer preserves alternate when opening preview	
�[32mSuccess�[0m	||	Alternate buffer floating window sets previous buffer as alternate	
�[32mSuccess�[0m	||	Alternate buffer floating window preserves alternate buffer if editing the same file	
�[32mSuccess�[0m	||	Alternate buffer floating window preserves alternate buffer if discarding changes	
	
�[32mSuccess: �[0m	12	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/trash_spec.lua	
�[32mSuccess�[0m	||	freedesktop files can be moved to the trash	
�[32mSuccess�[0m	||	freedesktop deleting a file moves it to trash	
�[32mSuccess�[0m	||	freedesktop deleting a directory moves it to trash	
�[32mSuccess�[0m	||	freedesktop deleting a file from trash deletes it permanently	
�[32mSuccess�[0m	||	freedesktop cannot create files in the trash	
�[32mSuccess�[0m	||	freedesktop cannot rename files in the trash	
�[32mSuccess�[0m	||	freedesktop cannot copy files in the trash	
�[32mSuccess�[0m	||	freedesktop can restore files from trash	
�[32mSuccess�[0m	||	freedesktop can have multiple files with the same name in trash	
	
�[32mSuccess: �[0m	9	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	

========================================	
Testing: 	/home/ccjmne/git/oil.nvim/tests/regression_spec.lua	
�[32mSuccess�[0m	||	regression tests can edit dirs that will be renamed to an existing buffer	
�[32mSuccess�[0m	||	regression tests places the cursor on correct entry when opening on file	
�[32mSuccess�[0m	||	regression tests doesn't close floating windows oil didn't open itself	
�[32mSuccess�[0m	||	regression tests doesn't close splits on oil.close	
�[32mSuccess�[0m	||	regression tests Returns to empty buffer on close	
�[32mSuccess�[0m	||	regression tests All buffers set nomodified after save	
�[32mSuccess�[0m	||	regression tests refreshing buffer doesn't lose track of it	
�[32mSuccess�[0m	||	regression tests can copy a file multiple times	
�[32mSuccess�[0m	||	regression tests can open files from floating window	
	
�[32mSuccess: �[0m	9	
�[31mFailed : �[0m	0	
�[31mErrors : �[0m	0	
========================================	
Success

@stevearc
Copy link
Owner

stevearc commented Oct 1, 2024

Thanks for the fix!

@stevearc stevearc merged commit 9e6fb84 into stevearc:master Oct 1, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken link to FreeDesktop's Trash specification
2 participants