1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-30 19:03:04 +00:00
No description
Find a file
Charles Kerr 6b0408b320
refactor: fix more sonarcloud warnings (#1509)
* chore: simplify loop logic

* refactor: simplify isValidUtf8()

* refactor: use std::make_unique in Application::Application

* refactor: avoid raw pointers in DetailsDialog

* refactor: simplify DetailsDialog::refreshPref()

* refactor: make Application methods const

* refactor: reduce cognitive complexity of buildTrackerSummary()
2020-11-08 13:54:40 -06:00
.tx
cli chore: sonarcloud warnings 2 (#1496) 2020-11-01 15:47:57 -06:00
cmake Remove autotools-based build system (#1465) 2020-10-13 03:15:19 +03:00
daemon refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
dist/msi feat: web client refresh (#1476) 2020-10-23 20:04:25 -05:00
docker/code_style
extras feat: add torrent-get 'primary-mime-type' to RPC. (#1464) 2020-10-13 10:33:56 -05:00
gtk refactor: fix more sonarcloud warnings (#1509) 2020-11-08 13:54:40 -06:00
libtransmission refactor: fix more sonarcloud warnings (#1509) 2020-11-08 13:54:40 -06:00
macosx Sync existing translations with Transifex 2020-11-03 20:26:30 +03:00
po Sync existing translations with Transifex 2020-11-03 20:26:30 +03:00
qt refactor: fix more sonarcloud warnings (#1509) 2020-11-08 13:54:40 -06:00
release/windows Specify correct required PS version (6+ due to Join-Path syntax) 2020-10-13 21:16:18 +03:00
tests Increase file wait timeout to 30s in subprocess test 2020-10-15 01:27:52 +03:00
third-party Remove autotools-based build system (#1465) 2020-10-13 03:15:19 +03:00
Transmission.xcodeproj feat: add torrent-get 'primary-mime-type' to RPC. (#1464) 2020-10-13 10:33:56 -05:00
utils refactor: fix more sonarcloud warnings (#1509) 2020-11-08 13:54:40 -06:00
web chore(web): get rid of webpack-dev-server warning (#1502) 2020-11-02 09:47:14 -06:00
.gitignore feat: web client refresh (#1476) 2020-10-23 20:04:25 -05:00
.gitmodules
appveyor.yml Fix imagemagick version at 7.0.10.29 to fix AppVeyor build 2020-10-13 21:16:18 +03:00
AUTHORS
CMakeLists.txt feat: web client refresh (#1476) 2020-10-23 20:04:25 -05:00
code_style.sh feat: web client refresh (#1476) 2020-10-23 20:04:25 -05:00
COPYING
docker-compose.yml
NEWS.md
README.md
uncrustify.cfg
update-version-h.sh Remove autotools-based build system (#1465) 2020-10-13 03:15:19 +03:00

About

Transmission is a fast, easy, and free BitTorrent client. It comes in several flavors:

  • A native Mac OS X GUI application
  • GTK+ and Qt GUI applications for Linux, BSD, etc.
  • A headless daemon for servers and routers
  • A web UI for remote controlling any of the above

Visit https://transmissionbt.com/ for more information.

Command line interface notes

Transmission is fully supported in transmission-remote, the preferred cli client.

Three standalone tools to examine, create, and edit .torrent files exist: transmission-show, transmission-create, and transmission-edit, respectively.

Prior to development of transmission-remote, the standalone client transmission-cli was created. Limited to a single torrent at a time, transmission-cli is deprecated and exists primarily to support older hardware dependent upon it. In almost all instances, transmission-remote should be used instead.

Different distributions may choose to package any or all of these tools in one or more separate packages.

Building

Transmission has an Xcode project file (Transmission.xcodeproj) for building in Xcode.

For a more detailed description, and dependencies, visit: https://github.com/transmission/transmission/wiki

Building a Transmission release from the command line

$ tar xf transmission-2.92.tar.xz
$ cd transmission-2.92
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Building Transmission from the nightly builds

Download a tarball from https://build.transmissionbt.com/job/trunk-linux/ and follow the steps from the previous section.

If you're new to building programs from source code, this is typically easier than building from Git.

Building Transmission from Git (first time)

$ git clone https://github.com/transmission/transmission Transmission
$ cd Transmission
$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Building Transmission from Git (updating)

$ cd Transmission/build
$ make clean
$ git pull --rebase --prune
$ git submodule update
$ cmake ..
$ make
$ sudo make install

Contributing

Code Style

You would want to setup your editor to make use of the uncrustify.cfg file located in the root of this repository and the eslint/prettier rules in web/package.json.

If for some reason you are unwilling or unable to do so, there is a shell script which you could run either directly or via docker-compose:

$ ./code_style.sh
or
$ docker-compose build --pull
$ docker-compose run --rm code_style