Граф коммитов

3619 Коммитов

Автор SHA1 Сообщение Дата
moljac 97f68edf37
Merge branch 'main' into wsu-20240806 2024-08-14 21:25:48 +02:00
Jonathan Pobst 8910d0537d
[Tests] Fix path separator issues on Mac. (#939) 2024-08-14 09:07:29 -10:00
moljac 05d57bfd47
Merge branch 'main' into wsu-20240806 2024-08-13 20:21:30 +02:00
moljac a2678906ba automatic files 2024-08-13 20:18:48 +02:00
moljac 0dc854e987 spel checking 2024-08-13 20:18:37 +02:00
moljac e4c3f0c1d5 metadata fixes 2024-08-13 20:18:29 +02:00
moljac 1fcce16a40 binderator green 2024-08-13 20:17:46 +02:00
Jonathan Pobst 8031c59263
Remove 'samples' directory. (#933)
In https://github.com/xamarin/AndroidX/pull/925, we converted the custom "samples" tests into NUnit unit tests, but did not remove the old tests.

Remove the `samples` directory and change the Cake targets like `ci-samples` to run the new NUnit tests.
2024-08-12 07:40:59 -10:00
Jonathan Pobst 646527a687
Begin streamlining default template. (#932)
Begin streamlining and updating the default project template.  There are two goals here:

- Modernize appearance and metadata by removing "Xamarin" branding and verbiage, shifting more towards ".NET for Android" branding.
- Begin making the default project template more generic and configurable via `config.json`. The desire here is to reduce maintenance burden by making the default template flexible enough that library-specific templates (like `kotlin` or `tink`) are no longer required.  (Currently we maintain 46 template sets across AndroidX and GPS repos, the majority of which only have minor differences.)
2024-08-12 07:40:34 -10:00
Jonathan Pobst 0835812542
Streamline "LICENSE" handling. (#931)
Reduce maintenance costs by creating a generic `PackageLicense.md` file that can be used by all packages.  Instead of listing package-specific licensing, it points to the existing `THIRD-PARTY-NOTICES.txt` file which already contains package-specific licensing.

Additionally, this is done as `PackageLicense.md` instead of the root `LICENSE.md` because it is specific to the packages we ship and not necessarily to the code in this repository.  That is, the package-specific wording does not apply to things like the `binderator` code that exists in this repository.

Also, mentions of `Xamarin` were replaced with `Microsoft`.

Finally, pull in the standard `dotnet` `LICENSE.txt` for the repository level license, a la:
- https://github.com/dotnet/runtime/blob/main/LICENSE.TXT
- https://github.com/dotnet/android/blob/main/LICENSE.TXT
2024-08-07 07:36:14 -10:00
Jonathan Pobst 0b5c7f00bc
Package README tweaks. (#928)
There is some interesting content available in a Java `.pom` file that we can add to our package readme files:
- Developer(s)
- License(s)
- Description
- Project URL

Add this information, apply some formatting, and remove some less useful information that clutters the readme.  Mockup of the new layout on nuget.org:

![image](https://github.com/user-attachments/assets/336a2662-0076-4c12-87c0-20bc6d91ebed)

Other changes:
- `binderator` changes were required to pull in the new fields.  Switch to the in-tree version of `binderator` instead of publishing a new `dotnet tool` version.
- Our existing `readme.md` [doesn't work on nuget.org](https://www.nuget.org/packages/Xamarin.AndroidX.Core#readme-body-tab) because we are missing the `$(PackageReadmeFile)` property. Fix this.
- This `readme.md` is intentionally generic enough to be usable by all of our packages. Remove individual template copies.
2024-08-04 17:39:33 -10:00
Jonathan Pobst 3bf2dabc91
Convert "all packages" "samples" to proper unit tests. (#925)
Convert our existing `BuildAllDotNet`/`BuildAllMauiApp` samples to NUnit based unit tests.  These tests use `dotnet new android|maui` instead of committed projects so that we always ensure we are testing against the current templates that our users will be using.

Additionally, move these tests to another stage, so they can run in parallel with other [test suite(s)](https://github.com/xamarin/AndroidX/pull/892).

This PR does not remove the existing `BuildAll*` samples, those will be removed in a future PR.
2024-08-04 17:38:52 -10:00
Jonathan Pobst 6acd20e2e3
Move functionality from `update-config.csx` to `binderator`. (#927)
As the scope of `update-config.csx` has grown, it has become more and more painful that it isn't in an actual project editable in an IDE, making it harder to update or debug.  As it shares code with `binderator`, like reading and writing `config.json`, move the functionality into `binderator`.

To help facilitate running this functionality, add new targets to `cake` for the various operations:

*   `update-config`

    Updates config.json to the latest versions found in Maven.
    
*   `bump-config`

    Increments the NuGet patch version of all packages in config.json.
    
*   `sort-config`

    Sorts config.json file using the canonical sort.
    
*   `published-config`

    Shows which NuGet package versions in config.json have been published to NuGet.org.

Note these run the in-tree version of `binderator`, there is no need to install the .NET Global tool version to run these targets.
2024-08-01 07:33:37 -10:00
moljac 08ee35f0b4
Merge pull request #779 from xamarin/mu-20230329-androidx.media.players
Manual updates 20230329 androidx.media.players
2024-07-30 17:00:53 +02:00
moljac f6d69ed328 automatic files 2024-07-30 01:10:51 +02:00
moljac 141a1685c4
Merge branch 'main' into mu-20230329-androidx.media.players 2024-07-29 23:52:15 +02:00
moljac e2579e2a93 media2 added back to build 2024-07-29 23:22:39 +02:00
moljac a53e460dbd
Merge pull request #924 from xamarin/wsu-20240725
Weekly stable updates 20240725
2024-07-29 23:12:25 +02:00
moljac 6285f6d96a formatting fixed 2024-07-29 12:54:29 +02:00
moljac 82171c71d8 automatic files 2024-07-25 11:14:48 +02:00
moljac 15832d2af3 updates 2024-07-25 11:14:13 +02:00
moljac 3047a62973 Tink replaced with Ant-Media Librtmp 2024-07-22 16:36:04 +02:00
moljac 49a1ec4098 AntMedia Rtmp capitalization fixes 2024-07-22 15:33:03 +02:00
moljac 9bb07d8786 fixes for `AndroidX.Wear.WatchFace.Complications.Datasource` 2024-07-22 13:16:15 +02:00
moljac b808ee6de2 metadata fixes for Darasource/DataSource 2024-07-22 10:11:23 +02:00
moljac c2bdd96fbf automatic fies 2024-07-19 16:46:27 +02:00
moljac fa9ba21e49 media2 removed 2024-07-19 14:47:39 +02:00
moljac 82e4b962b3 template fixes 2024-07-19 10:26:27 +02:00
moljac cc77b10c24 media2 metadata removed 2024-07-19 09:57:47 +02:00
moljac d0729683b8 automatic files 2024-07-18 20:30:31 +02:00
moljac ae82f27b10 metadata fixes according to review 2024-07-18 20:30:19 +02:00
moljac 7cf6b7e9bb Update artifact-list-with-versions.md 2024-07-14 10:11:22 +02:00
moljac 136d29e966
Merge branch 'main' into mu-20230329-androidx.media.players 2024-07-13 14:33:07 +02:00
moljac ee74691698
Merge pull request #922 from xamarin/mu-20240712-alignment-bumps
Manual updates 20240712 alignment bumps
2024-07-12 23:47:39 +02:00
moljac 58c9dac648 automatic files 2024-07-12 17:04:09 +02:00
moljac f07b8427b0 Update config.json 2024-07-12 16:18:44 +02:00
moljac cb998e373b
Merge branch 'main' into mu-20230329-androidx.media.players 2024-07-08 18:09:31 +02:00
moljac 7f7feb8b78
Merge pull request #921 from xamarin/wsu-20240704
Weekly Stable Updates 20240704
2024-07-08 17:13:26 +02:00
moljac 7d983f2a6e changes from main branch 2024-07-08 16:58:18 +02:00
moljac 6c2e869903 automtic files 2024-07-08 16:57:50 +02:00
moljac 74b9579cec Update Metadata.xml 2024-07-06 17:41:58 +02:00
moljac b07b9f5d62 automatic files 2024-07-06 17:40:16 +02:00
moljac 742f88a8b0 Update config.json 2024-07-06 17:39:42 +02:00
moljac 393a3a859d
Merge branch 'main' into mu-20230329-androidx.media.players 2024-07-05 07:52:30 +02:00
moljac 6053520760 automatic files 2024-07-05 07:49:58 +02:00
moljac 0c42bb7083 added package patterns for samples 2024-07-05 07:49:48 +02:00
moljac d31896a9d2 Update Metadata.xml 2024-07-05 07:49:32 +02:00
moljac da8659912d removed problematic artifacts 2024-07-05 07:49:09 +02:00
Jonathan Pobst 0d9339b4e8
Ignore `nuget-diff` error for now. (#917)
Context: https://github.com/xamarin/AndroidX/issues/916

`api-diff` currently fails for `Xamarin.AndroidX.Car.App.App` `1.4.0` which is preventing us from updating it.  The nature of this crash is documented in https://github.com/xamarin/AndroidX/issues/916.

We have chosen not to spend the resources at this time to fix this tooling error.  Instead, we are going to go ahead and update `Xamarin.AndroidX.Car.App.App` to version `1.4.0` and are going to exclude it from running `api-diff`.
2024-07-03 14:09:53 -05:00
moljac 4daba3f53d
Merge branch 'main' into mu-20230329-androidx.media.players 2024-07-02 16:22:40 +02:00