Git for Unity, a fork of GitHub for Unity
Перейти к файлу
Andreia Gaita 54501c7512
Merge pull request #32 from Unity-Technologies/dependabot/npm_and_yarn/packaging/create-unity-packages/ini-1.3.7
Bump ini from 1.3.5 to 1.3.7 in /packaging/create-unity-packages
2021-04-16 16:02:57 +02:00
.github Update documentation 2020-01-04 17:36:19 -07:00
.yamato yamato: fix urls for upm 2020-09-15 15:52:03 +02:00
.yamato_config More test fixes 2020-01-01 09:59:39 -07:00
UnityProject Update documentation 2020-01-04 17:36:19 -07:00
common build: Cleanup package version stamp code 2020-09-16 15:09:20 +02:00
docs Update documentation 2020-01-04 17:36:19 -07:00
extras Fix some more package.json authorship 2020-09-10 16:39:10 +02:00
lib Fix tests, remove dead code, make one package for api and ui 2019-12-31 09:11:12 -07:00
packaging Bump ini from 1.3.5 to 1.3.7 in /packaging/create-unity-packages 2020-12-11 18:31:08 +00:00
scripts Fix meta file assembly references and platform loading 2020-01-01 13:07:11 -07:00
src Avoid using folders called "Resources" it's Bad(tm) 2020-09-16 15:41:27 +02:00
tests More test fixes 2020-01-01 09:59:39 -07:00
.appveyor.yml Fix meta file assembly references and platform loading 2020-01-01 13:07:11 -07:00
.editorconfig Fix tests, remove dead code, make one package for api and ui 2019-12-31 09:11:12 -07:00
.gitattributes build: Add .net 471 reference assemblies so dotnet core can build the project 2019-08-14 14:45:28 +02:00
.gitignore More test fixes 2020-01-01 09:59:39 -07:00
BUILD.md Update documentation 2020-01-04 17:36:19 -07:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Update documentation 2020-01-04 17:36:19 -07:00
GitForUnity.sln More test fixes 2020-01-01 09:59:39 -07:00
GitForUnity.sln.DotSettings Remove submodules and old build system 2019-07-03 12:40:33 +02:00
GitForUnity.v3.ncrunchsolution Remove submodules and old build system 2019-07-03 12:40:33 +02:00
LICENSE.md More test fixes 2020-01-01 09:59:39 -07:00
README.md Update README.md 2020-06-07 22:10:02 +05:30
build.cmd Fix tests, remove dead code, make one package for api and ui 2019-12-31 09:11:12 -07:00
build.sh Fix tests, remove dead code, make one package for api and ui 2019-12-31 09:11:12 -07:00
clean.sh More test fixes 2020-01-01 09:59:39 -07:00
global.json Fix tests, remove dead code, make one package for api and ui 2019-12-31 09:11:12 -07:00
hMSBuild.bat Moving to new csproj format 2019-07-01 19:18:35 +02:00
nuget.config Fix tests, remove dead code, make one package for api and ui 2019-12-31 09:11:12 -07:00
pack.cmd Fix tests, remove dead code, make one package for api and ui 2019-12-31 09:11:12 -07:00
pack.sh Fix meta file assembly references and platform loading 2020-01-01 13:07:11 -07:00
run-test-webserver.sh Make the new scripts work on mac 2018-05-15 18:42:32 +02:00
test.cmd build: clean up tmp dirs, generate html test output in yamato 2019-08-15 13:29:15 +02:00
test.sh Fix tests, remove dead code, make one package for api and ui 2019-12-31 09:11:12 -07:00
upmpackage.sh yamato: packaging com.unity.git.ui 2019-08-16 16:56:49 +02:00
upmtest.sh yamato: packaging com.unity.git.ui 2019-08-16 16:56:49 +02:00
version.json Set CI version 2019-12-31 09:23:54 -07:00

README.md

Git for Unity

This is a fork of GitHub for Unity.

Build Status

What's all this then?

This project is a fork of GitHub for Unity and is currently in preview. The API part of GitHub for Unity is a .NET Git Client library, without any dependencies on Unity itself. Only the UI part of GitHub for Unity is Unity-specific.

The same applies to this project, which is split into two packages - com.unity.git.api - the Git client library; and com.unity.git.ui - a Unity Git UI based on the GitHub for Unity UI, which exemplifies how to use the Git client library.

Even though this project is currently a fork, we plan for the API part of this project to become the authoritative implementation source, and split entirely from the original GitHub for Unity implementation.

We're doing this so we can improve the integration between Git and Unity by exposing additional version control C# APIs that Git for Unity can leverage. Therefore, the API may change while we build this, and this project may become dependent on more recent versions of Unity.

How to Build

This repository is LFS-enabled. To clone it, you should use a git client that supports git LFS 2.x.

Check How to Build for all the build, packaging and versioning details.

Release build

build[.sh|cmd] -r

Release build and package

pack[.sh|cmd] -r -b

Release build and test

test[.sh|cmd] -r -b

Where are the build artifacts?

Packages sources are in build/packages.

Nuget packages are in build/nuget.

Packman (npm) packages are in upm-ci~/packages.

Binaries for each project are in build/bin for the main projects, build/Samples/bin for the samples, and build/bin/tests for the tests.

How to bump the major or minor parts of the version

The version.json file in the root of the repo controls the version for all packages. Set the major and/or minor number in it and commit the change so that the next build uses the new version. The patch part of the version is the height of the commit tree since the last manual change of the version.json file, so once you commit a change to the major or minor parts, the patch will reset back to 0.

License

MIT

Copyright 2019 Unity

The MIT license grant is not for Unity Technologies's trademarks, which include the logo designs. Unity Technologies reserves all trademark and copyright rights in and to all Unity Technologies trademarks.