Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
77 changes: 12 additions & 65 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,76 +1,23 @@
# Contributing to LinuxFiles
LinuxFiles is an unofficial, community-maintained Linux port of [Files](https://github.com/files-community/Files); it is not affiliated with the Files Community. The guidance below is adapted from upstream's contributing guide and still applies unless noted.

- Issues and pull requests for the **Linux port** go to this repository. Issues about the Windows app belong [upstream](https://github.com/files-community/Files/issues).
- Please read [docs/linux-port/PLAN.md](../docs/linux-port/PLAN.md) and [docs/linux-port/AGENT-RULES.md](../docs/linux-port/AGENT-RULES.md) first. Linux code lives in `*.Linux.cs` files and the Linux platform projects; keep Windows code paths unchanged.
- Upstream's "Ready to build" label and Windows-only tooling (Appium, WinAppDriver, the Files.Package) do not apply to this fork. Open an issue to discuss larger changes first.
- Do not copy code from upstream without keeping its MIT notice, and do not claim upstream work as your own. Changes that are not Linux-specific are best sent upstream too.
- Security issues: see [SECURITY.md](./SECURITY.md).
LinuxFiles is an independent Linux-only fork of [Files](https://github.com/files-community/Files), unaffiliated with the Files Community. There is no upstream sync or Windows support. Preserve inherited license headers, notices and contributor credit.

Files thrives off of the contributions and input from users. There are several ways you can get involved.
Report issues and submit pull requests in [this repository](https://github.com/MemerGamer/LinuxFiles). Discuss larger changes before implementing them, and follow our [Code of Conduct](CODE_OF_CONDUCT.md). Report security issues privately as described in [SECURITY.md](SECURITY.md).

We are happy to hear your feedback for the future of Files. Check the
[issues tab](https://github.com/MemerGamer/LinuxFiles/issues) to see if others have
submitted similar feedback. You can add your feedback to existing issues or you can open a new issue.
Read [AGENTS.md](../AGENTS.md), [Linux agent rules](../docs/linux-port/AGENT-RULES.md) and the [fork policy](../docs/linux-port/upstream-policy.md). The porting plans are archived historical context.

We always look at your feedback when we decide what to work on next and we look forward to hearing your ideas. Remember that
all community interactions must abide by the [Code of Conduct](./CODE_OF_CONDUCT.md).
## Build and validation

## Finding issues you can help with
Looking for something to work on?
Issues marked as ready to build are a good place to start. If you're interested in working on an issue, leave a comment to let everyone know and to help
avoid duplicated effort from others.
Use the .NET 10 SDK and the Linux desktop dependencies described in [README.md](README.md).

## Contributions we accept
We welcome your contributions to the Files project, especially to fix bugs and to make
improvements which address the top issues reported by Files users. Some general guidelines:

* **DO** create one pull request per Issue, and ensure that the Issue is linked in the pull request.
* **DO** follow our [Coding and Style](https://files.community/docs/contributing/code-style) guidelines, and keep code changes as small as possible.
* **DO** include corresponding tests whenever possible.
* **DO** check for additional occurrences of the same problem in other parts of the codebase before submitting your PR.
* **DO** [link the issue](https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#manually-linking-a-pull-request-to-an-issue) you are addressing in the
pull request.
* **DO** write a good description for your pull request. More detail is better. Describe *why* the change is being
made and *why* you have chosen a particular solution. Describe any manual testing you performed to validate your change.
* **DO NOT** submit a PR unless the connected issue is marked as ready to build or approved by an org member.
This enables us to have a discussion on the idea before anyone invests time on the implementation.
* **DO NOT** merge multiple changes into one PR unless they have the same root cause.

> Submitting a pull request for an approved Issue is not a guarantee it will be approved.
> The change must meet our high bar for code quality, architecture, and performance.

## Making changes to the code

If your change is complex, please clean up the branch history before submitting a pull request.
You can use [git rebase](https://docs.microsoft.com/en-us/azure/devops/repos/git/rebase#squash-local-commits)
to group your changes into a small number of commits which we can review one at a time.

When completing a pull request, we will generally squash your changes into a single commit. Please
let us know if your pull request needs to be merged as separate commits.

## Running interaction tests (optional)
The tests drive the app through [Appium](https://appium.io), which automates it using WinAppDriver.
Install WinAppDriver, and Node.js to run Appium on:
```powershell
winget install Microsoft.WindowsApplicationDriver
winget install OpenJS.NodeJS
```
Then install Appium and the Windows driver it automates through:
```powershell
npm install --global appium
appium driver install --source=npm appium-windows-driver
```sh
dotnet build src/Files.App -f net10.0-desktop
dotnet build tests/Files.Platform.Tests
dotnet test --project tests/Files.Platform.Tests/Files.Platform.Tests.csproj --no-build
```
The tests launch Appium themselves when it is not already running, so keep it on your `PATH`.

Finally, you will need to run the Files.Package at least once to have the debug version be registered on your machine.
Once you have the debug version registered, you can run the tests from the test explorer in Visual Studio.
Run builds sequentially. For UI validation, use `scripts/linux/headless-run.sh` with its private Xvfb display and throwaway home; do not alter the user's desktop or settings.

## Review Process
After submitting a pull request, members of the Files team will review your code. Any member of the community may
participate in the review, but at least one member of the Files team will ultimately approve
the request.
## Pull requests

Often, multiple iterations will be needed to respond to feedback from reviewers. Try looking at
[past pull requests](https://github.com/files-community/Files/pulls?q=is%3Apr+is%3Aclosed) to see
what the experience might be like.
Keep each change focused, follow `.editorconfig` and surrounding code, and include relevant validation. Use [the PR template](PULL_REQUEST_TEMPLATE.md), link the issue where applicable, and explain the resulting behavior and any limitations. Maintainers review contributions in this fork; upstream approval or labels are not required.
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bug Report
description: Report a bug in LinuxFiles, the unofficial Linux port of Files.
description: Report a bug in LinuxFiles, the independent Linux fork of Files.
type: 'Bug'
title: 'Bug: '
body:
Expand All @@ -9,7 +9,7 @@ body:
attributes:
value: |
> [!NOTE]
> This tracker is for the Linux port. Windows-only bugs belong in the [upstream Files tracker](https://github.com/files-community/Files/issues), and only if reproducible in the official Windows app.
> This tracker is for LinuxFiles, an independent Linux-only fork.

> [!TIP]
> Have you checked for similar issues? There's a possibility the bug you are experiencing has already been reported. Please do a thorough search before creating a new issue.
Expand Down Expand Up @@ -44,13 +44,13 @@ body:
validations:
required: true

# Windows Version
# Linux Environment
- type: input
id: windows_version
id: linux_environment
attributes:
label: Windows Version
description: Which version of Windows are you using? To copy your Windows version, access it from Settings -> About -> Copy -> Windows version.
placeholder: "e.g. 10.0.22621.1848"
label: Linux Environment
description: Which Linux distribution, desktop environment and display session (X11 or Wayland/XWayland) are you using?
placeholder: "e.g. Fedora 43, KDE Plasma, Wayland/XWayland"
validations:
required: true

Expand Down
17 changes: 3 additions & 14 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

# LinuxFiles: Files for Linux

**LinuxFiles, Files for Linux, based on Files by the Files Community, is an unofficial, community-maintained Linux port of [Files](https://github.com/files-community/Files) by the Files Community. It is not affiliated with or endorsed by the Files Community.**
**LinuxFiles, Files for Linux, based on Files by the Files Community, is an independent, community-maintained Linux-only fork of [Files](https://github.com/files-community/Files) by the Files Community. It is not affiliated with or endorsed by the Files Community.**

Files is created and maintained by the [Files Community](https://github.com/files-community) and its [contributors](https://github.com/files-community/Files/graphs/contributors). This fork builds on their work and keeps their MIT-licensed code, history and credit. The Linux port itself ([Uno Platform](https://platform.uno), Skia, X11, and the Linux platform layer) is the work of the LinuxFiles contributors. See [Credits](#credits) and [NOTICE.md](../NOTICE.md).

> [!WARNING]
> **Status: alpha.** Expect missing features and rough edges, and do not rely on it for data you cannot afford to lose. The official, supported Files for Windows is at [files.community](https://files.community/).

LinuxFiles is now an independent fork: upstream stays a read-only remote, fixes are cherry-picked selectively, and upstream branches are no longer merged. See the [upstream policy](../docs/linux-port/upstream-policy.md). MIT/MPL licenses and contributor notices remain preserved.
LinuxFiles supports Linux only and has no upstream sync: upstream stays a read-only remote, fixes are cherry-picked selectively, and upstream branches are no longer merged. See the [upstream policy](../docs/linux-port/upstream-policy.md). MIT/MPL licenses and contributor notices remain preserved.

## Linux port: current state

Expand Down Expand Up @@ -128,22 +128,11 @@ curl -LO https://github.com/MemerGamer/LinuxFiles/releases/download/nightly/Linu
## Reporting bugs

- **Linux bugs and Linux feature requests:** open an issue in [this fork](https://github.com/MemerGamer/LinuxFiles/issues).
- **Windows bugs:** report them to [upstream Files](https://github.com/files-community/Files/issues) only if you can reproduce them in the official Windows app. Please do not report LinuxFiles problems upstream.
- **Security issues:** use this fork's private [Security Advisories](https://github.com/MemerGamer/LinuxFiles/security/advisories/new). See [SECURITY.md](./SECURITY.md).

## About upstream Files

The text and images in this section describe the upstream project and are the Files Community's work, not ours.

![Upstream Files screenshot (Windows)](./assets/FilesScreenshot.png)

Files is a modern file manager that helps users organize their files and folders. The upstream mission is to build the best file manager for Windows, built in the open by the community, with robust multitasking, file tags, deep integrations and an intuitive design. See the [upstream repository](https://github.com/files-community/Files) and [website](https://files.community/).

For the official Windows app, use the upstream distribution channels (Microsoft Store and classic installer from [files.community/download](https://files.community/download)); this fork does not distribute Windows builds.

## Contributing

Contributions to the Linux port are welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md). Contributions to the Windows app belong in the [upstream repository](https://github.com/files-community/Files).
Contributions to this independent Linux fork are welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md).

## Credits

Expand Down
Binary file removed .github/assets/ClassicInstallerBadge-dark.png
Binary file not shown.
Binary file removed .github/assets/ClassicInstallerBadge-light.png
Binary file not shown.
Binary file removed .github/assets/FilesScreenshot.png
Binary file not shown.
Binary file removed .github/assets/ReadmeHero.png
Binary file not shown.
Binary file removed .github/assets/StoreBadge-dark.png
Binary file not shown.
Binary file removed .github/assets/StoreBadge-light.png
Binary file not shown.
Loading
Loading