Skip to content

Commit 0c940b1

Browse files
authored
Removed Versioning lib (#63)
* The versioning library now lives in it's own repo - This allows work on that to continue independent of the versioning tasks - It even allows use of the tasks for versioning the Library! - Work on that library should NOT require a new build of the tasks - The tasks should remain as isolated as plausible to allow use by other consumers without customized scripting dependency problems. Co-authored-by: smaillet <[email protected]>
1 parent ac87ffb commit 0c940b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+12
-3839
lines changed

PsModules/CommonBuild/Public/Show-FullBuildInfo.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,4 @@ function Show-FullBuildInfo
3131

3232
Write-Verbose ".NET SDKs:"
3333
Write-Verbose (dotnet --list-sdks | Out-String)
34-
Write-Verbose "GITHUB vars"
35-
Write-Verbose (dir env:GITHUB* | Format-Table -Property Name, value | Out-String)
3634
}

docfx/docfx.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/docfx/main/schemas/docfx.schema.json",
3-
"metadata": [
4-
{
5-
"memberLayout":"separatePages",
6-
"namespaceLayout":"nested",
7-
"src": [
8-
{
9-
"src": "../src/Ubiquity.NET.Versioning",
10-
"files": ["**.csproj"]
11-
}
12-
],
13-
"dest": "versioning-lib/api"
14-
}
15-
],
163
"build": {
174
// xref YAML files that contain mappings from an XREF ID to the actual URL for the content in an external source
185
"xref": [
@@ -28,17 +15,6 @@
2815
"toc.yml"
2916
]
3017
},
31-
{
32-
// Versioning project additional content, Includes the generated metadata API folder
33-
"files": [
34-
"versioning-lib/**.{md,yml}"
35-
],
36-
// Exclude the namespace overwrites and XREF maps as they are listed explicitly elsewhere
37-
"exclude": [
38-
"**/namespaces/**.md",
39-
"**/*-xref.yml"
40-
]
41-
},
4218
{
4319
// Build tasks project additional content
4420
// There is no API generated for this, it's just consumable for the build tasks.

docfx/documentation.msbuildproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
<!--Everything in the versioning-lib sub-folder except the API folder as that contains generated files -->
2525
<None Include="versioning-lib/**" Exclude="versioning-lib/api/**" />
2626
<!-- Explicitly call out the non-generated files in the API folder-->
27-
<None Include="versioning-lib/api/.gitignore" />
2827
</ItemGroup>
2928
<ItemGroup>
3029
<!--Everything in the build-tasks sub-folder except the API folder as that contains generated files -->

docfx/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# Ubiquity.NET.Versioning
2-
`Ubiquity.NET.Versioning*` family of libraries provides support for a number of scenarios
3-
but the primary focus is automated build versioning that embraces the principal of least surprise
4-
while conforming to the syntax of CSemVer and CSemVer-CI
1+
# Ubiquity.NET.Versioning.Tasks
2+
`Ubiquity.NET.Versioning.Tasks` library provides support for automated build scenarios
3+
with the primary focus is automated build versioning that embraces the principal of
4+
least surprise while conforming to the syntax of CSemVer and CSemVer-CI for versioning.
55

66
## The Libraries in this repository
77

88
| Library | Description |
99
|---------|-------------|
10-
| [Ubiquity.NET.Versioning](versioning-lib/index.md) | This library contains support for use of CSemVer at runtime |
1110
| [Ubiquity.NET.Versioning.Build.Tasks](build-tasks/index.md) | This library contains support for automated versioning at BUILD time |
1211

1312
>[!IMPORTANT]
1413
> There is confusion on the ordering of a CI build with relation to a release build with
1514
> CSemVer-CI. A CI Build is either an initial build of an unreleased version with
1615
> [Major.Minor.Patch] == [0.0.0]. Or, it is based on the previously released version and
1716
> is [Major.Minor.Patch+1]. That is, a CI build is ordered ***BEFORE*** all release builds,
18-
> or it is ordered ***AFTER*** the ***specific*** release it is based on! In particular a
19-
> CI build version does ***NOT*** indicate what it will become when it is finally released,
20-
> but what release it was based on (If any). To simplify that, for clarity, a CI build
21-
> contains everything in the release it was based on and additional changes (that might
22-
> remove things). CI builds are, by definition NOT stable and consumers cannot rely on
23-
> them for predictions of future stability. A given CI build may even represent an
24-
> abandoned approach that never becomes a release!
17+
> or it is ordered ***AFTER*** the ***specific*** release it is based on!
18+
>
19+
> In particular a CI build version does ***NOT*** indicate what it will become when it is
20+
> finally released/ It ONLY indicates what release it was based on (If any). To simplify
21+
> that, for clarity, a CI build contains everything in the release it was based on and
22+
> additional changes (that might remove things). CI builds are, by definition NOT stable
23+
> and consumers cannot rely on them for predictions of future stability. A given CI build
24+
> may even represent an abandoned approach that never becomes a release!
2525
2626
---
2727
[Attributions](Attributions.md)

docfx/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@
99
href: https://github.com/UbiquityDotNET/CSemVer.GitBuild
1010
- name: Projects
1111
items:
12-
- name: Ubiquity.NET.Versioning
13-
href: versioning-lib/index.md
1412
- name: Ubiquity.NET.Versioning.Build.Tasks
1513
href: build-tasks/index.md

docfx/versioning-lib/api/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

docfx/versioning-lib/index.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

docfx/versioning-lib/namespaces/Ubiquit.NET.Versioning.md

Lines changed: 0 additions & 137 deletions
This file was deleted.

docfx/versioning-lib/toc.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/Ubiquity.NET.Versioning.UT/AssemblyInfo.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)