Skip to content

Commit 0a0c56b

Browse files
authored
Merge pull request #10 from alma-oss/feature/adjust-repo
Move repository
2 parents 5c51a7f + e24fdba commit 0a0c56b

File tree

12 files changed

+78
-77
lines changed

12 files changed

+78
-77
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111

1212
permissions:
1313
contents: read
14-
packages: write
1514

1615
steps:
1716
- uses: actions/checkout@v4
@@ -21,20 +20,8 @@ jobs:
2120
with:
2221
dotnet-version: 9.x
2322

24-
- name: Generate token
25-
id: generate_token
26-
uses: almacareer/dex-github-app-token@v1
27-
with:
28-
app_id: ${{ secrets.PRC_ACTIONS_INTERNAL_APPID }}
29-
installation_id: ${{ secrets.PRC_ACTIONS_INTERNAL_INSTALLATION_ID }}
30-
private_key: ${{ secrets.PRC_ACTIONS_INTERNAL_KEY }}
31-
32-
- name: Publish package
23+
- name: Publish to NuGet.org
3324
env:
34-
PRIVATE_FEED_USER: ${{ github.repository_owner }}
35-
PRIVATE_FEED_PASS: ${{ secrets.GITHUB_TOKEN }}
36-
NUGET_SERVER_TOKEN: ${{ steps.generate_token.outputs.token }}
37-
NUGET_SERVER_ORGANIZATION: ${{ github.repository_owner }}
38-
NUGET_SERVER_REPOSITORY: "prc-nuget-server"
25+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
3926
DOTNET_ROLL_FORWARD: latestMajor
40-
run: ./build.sh -t publish
27+
run: ./build.sh -t publish no-lint

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
PRIVATE_FEED_USER: ${{ github.repository_owner }}
2929
PRIVATE_FEED_PASS: ${{ secrets.GITHUB_TOKEN }}
3030
DOTNET_ROLL_FORWARD: latestMajor
31-
run: ${{ matrix.os.run }} -t tests
31+
run: ${{ matrix.os.run }} -t tests no-lint

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<!-- There is always Unreleased section on the top. Subsections (Add, Changed, Fix, Removed) should be Add as needed. -->
44
## Unreleased
5+
- Move repo
56

67
## 6.1.0 - 2025-10-19
78
- Add `Checkpoint` module

DynamoDB.fsproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
<OutputType>Library</OutputType>
77
<PackageId>Alma.DynamoDB</PackageId>
88
<Version>6.1.0</Version>
9-
<RepositoryUrl>https://github.com/almacareer/prc-fdynamodb.git</RepositoryUrl>
10-
<PackageProjectUrl>https://github.com/almacareer/prc-fdynamodb</PackageProjectUrl>
9+
<Authors>Almacareer</Authors>
10+
<Description>Library for accessing a DynamoDB storage.</Description>
11+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
12+
<RepositoryUrl>https://github.com/alma-oss/fdynamodb.git</RepositoryUrl>
13+
<PackageProjectUrl>https://github.com/alma-oss/fdynamodb</PackageProjectUrl>
1114
</PropertyGroup>
1215

1316
<ItemGroup>

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### The MIT License (MIT) ###
2+
3+
Copyright (c) Alma Career Czechia s.r.o.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
11
F-DynamoDB
22
==========
33

4+
[![NuGet](https://img.shields.io/nuget/v/Alma.DynamoDB.svg)](https://www.nuget.org/packages/Alma.DynamoDB)
5+
[![NuGet Downloads](https://img.shields.io/nuget/dt/Alma.DynamoDB.svg)](https://www.nuget.org/packages/Alma.DynamoDB)
6+
[![Tests](https://github.com/alma-oss/fdynamodb/actions/workflows/tests.yaml/badge.svg)](https://github.com/alma-oss/fdynamodb/actions/workflows/tests.yaml)
7+
48
Library for accessing a DynamoDB storage.
59

610
## Install
711

8-
Add following into `paket.dependencies`
9-
```
10-
source https://nuget.pkg.github.com/almacareer/index.json username: "%PRIVATE_FEED_USER%" password: "%PRIVATE_FEED_PASS%"
11-
# LMC Nuget dependencies:
12-
nuget Alma.DynamoDB
13-
```
14-
15-
NOTE: For local development, you have to create ENV variables with your github personal access token.
16-
```sh
17-
export PRIVATE_FEED_USER='{GITHUB USERNANME}'
18-
export PRIVATE_FEED_PASS='{TOKEN}' # with permissions: read:packages
19-
```
20-
2112
Add following into `paket.references`
2213
```
2314
Alma.DynamoDB
@@ -50,7 +41,7 @@ let dynamoDB = DynamoDB.connect configuration
5041
### Put item to DynamoDB
5142
```fs
5243
open Alma.DynamoDB
53-
open Alma.ErrorHandling
44+
open Feather.ErrorHandling
5445
5546
type ItemDTO = {
5647
[<Attribute.HashKey>] PrimaryKey: string
@@ -112,9 +103,9 @@ The `CheckpointStore` module provides a DynamoDB-backed implementation for stori
112103
```fs
113104
open Alma.DynamoDB
114105
open Alma.DynamoDB.Checkpoint
115-
open Alma.Kafka
116-
open Alma.ServiceIdentification
117-
open Alma.ErrorHandling
106+
open Alma.DynamoDB
107+
open Alma.DynamoDB
108+
open Feather.ErrorHandling
118109
119110
// Configure CheckpointStore with appropriate table and credentials
120111
let checkpointInstance =

build/Build.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let main args =
2525
}
2626
Specs =
2727
Spec.defaultLibrary
28-
|> Spec.mapLibrary (fun library -> { library with NugetApi = NugetApi.Organization "almacareer" })
28+
|> Spec.mapLibrary (fun library -> { library with NugetApi = NugetApi.KeyInEnvironment "NUGET_API_KEY" })
2929
}
3030

3131
args |> Args.run

paket.dependencies

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ nuget FSharp.Core ~> 9.0
66
nuget FSharp.AWS.DynamoDB 0.12.3-beta
77
nuget AWSSDK.SecurityToken ~> 3.7 # todo - use nuget AWSSDK.SecurityToken ~> 4.0 ASAP
88

9-
source https://nuget.pkg.github.com/almacareer/index.json username: "%PRIVATE_FEED_USER%" password: "%PRIVATE_FEED_PASS%"
10-
# LMC Nuget dependencies:
11-
nuget Alma.ErrorHandling ~> 10.0
12-
nuget Alma.ServiceIdentification ~> 10.0
13-
nuget Alma.Tracing ~> 11.0
9+
nuget Feather.ErrorHandling ~> 1.0
10+
nuget Alma.ServiceIdentification ~> 10.1
11+
nuget Alma.Tracing ~> 12.0
1412

1513
nuget Expecto
1614
nuget YoloDev.Expecto.TestSdk

paket.lock

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,35 @@
11
STORAGE: NONE
22
RESTRICTION: == net9.0
33
NUGET
4-
remote: https://nuget.pkg.github.com/almacareer/index.json
5-
Alma.ErrorHandling (10.0.0)
6-
FSharp.Core (>= 9.0.201 < 10.0)
7-
Alma.Logging (10.0.0)
8-
Alma.ErrorHandling (>= 10.0 < 11.0)
9-
Alma.ServiceIdentification (>= 10.0 < 11.0)
10-
FSharp.Core (>= 9.0.201 < 10.0)
4+
remote: https://api.nuget.org/v3/index.json
5+
Alma.Logging (11.0)
6+
Alma.ServiceIdentification (>= 10.1 < 11.0)
7+
Feather.ErrorHandling (>= 1.0 < 2.0)
8+
FSharp.Core (>= 9.0.303 < 10.0)
119
Microsoft.Extensions.Logging (>= 9.0.2 < 10.0)
1210
Microsoft.Extensions.Logging.Console (>= 9.0.2 < 10.0)
1311
Serilog (>= 4.2 < 5.0)
1412
Serilog.Extensions.Logging (>= 9.0 < 10.0)
1513
Serilog.Sinks.Console (>= 6.0 < 7.0)
16-
Alma.ServiceIdentification (10.0.0)
17-
FSharp.Core (>= 9.0.201 < 10.0)
18-
Alma.State (9.1.0)
19-
Alma.ErrorHandling (>= 10.0 < 11.0)
20-
FSharp.Core (>= 9.0.201 < 10.0)
21-
Alma.Tracing (11.0.0)
22-
Alma.ErrorHandling (>= 10.0 < 11.0)
23-
Alma.Logging (>= 10.0 < 11.0)
24-
Alma.State (>= 9.1 < 10.0)
14+
Alma.ServiceIdentification (10.1)
2515
FSharp.Core (>= 9.0.201 < 10.0)
16+
Alma.State (10.0)
17+
Feather.ErrorHandling (>= 1.0 < 2.0)
18+
FSharp.Core (>= 9.0.303 < 10.0)
19+
Alma.Tracing (12.0)
20+
Alma.Logging (>= 11.0 < 12.0)
21+
Alma.State (>= 10.0 < 11.0)
22+
Feather.ErrorHandling (>= 1.0 < 2.0)
23+
FSharp.Core (>= 9.0.303 < 10.0)
2624
FSharp.Data (>= 6.6 < 7.0)
2725
Microsoft.AspNetCore.Http (>= 2.3 < 3.0)
28-
Microsoft.Extensions.Logging (>= 9.0.3 < 10.0)
26+
Microsoft.Extensions.Logging (>= 9.0.11 < 10.0)
2927
OpenTelemetry (>= 1.11.2 < 2.0)
3028
OpenTelemetry.Api (>= 1.11.2 < 2.0)
3129
OpenTelemetry.Exporter.Console (>= 1.11.2 < 2.0)
3230
OpenTelemetry.Exporter.Jaeger (>= 1.5.1 < 2.0)
3331
OpenTelemetry.Extensions.Propagators (>= 1.11.2 < 2.0)
3432
OpenTelemetry.Instrumentation.Http (>= 1.11.1 < 2.0)
35-
remote: https://api.nuget.org/v3/index.json
3633
AWSSDK.Core (3.7.500.32)
3734
AWSSDK.DynamoDBv2 (3.7.506.5)
3835
AWSSDK.Core (>= 3.7.500.32 < 4.0)
@@ -41,6 +38,8 @@ NUGET
4138
Expecto (10.2.3)
4239
FSharp.Core (>= 7.0.200)
4340
Mono.Cecil (>= 0.11.4 < 1.0)
41+
Feather.ErrorHandling (1.0)
42+
FSharp.Core (>= 9.0.201 < 10.0)
4443
FSharp.AWS.DynamoDB (0.12.3-beta)
4544
AWSSDK.DynamoDBv2 (>= 3.7.300.11 < 3.8)
4645
FSharp.Core (>= 4.7.2)
@@ -104,18 +103,19 @@ NUGET
104103
Microsoft.Extensions.Primitives (>= 9.0.10)
105104
Microsoft.Extensions.Configuration.Binder (9.0.10)
106105
Microsoft.Extensions.Configuration.Abstractions (>= 9.0.10)
107-
Microsoft.Extensions.DependencyInjection (9.0.10)
108-
Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.10)
109-
Microsoft.Extensions.DependencyInjection.Abstractions (9.0.10)
106+
Microsoft.Extensions.DependencyInjection (10.0)
107+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0)
108+
Microsoft.Extensions.DependencyInjection.Abstractions (10.0)
110109
Microsoft.Extensions.Diagnostics.Abstractions (9.0.10)
111110
Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.10)
112111
Microsoft.Extensions.Options (>= 9.0.10)
113-
Microsoft.Extensions.Logging (9.0.10)
114-
Microsoft.Extensions.DependencyInjection (>= 9.0.10)
115-
Microsoft.Extensions.Logging.Abstractions (>= 9.0.10)
116-
Microsoft.Extensions.Options (>= 9.0.10)
117-
Microsoft.Extensions.Logging.Abstractions (9.0.10)
118-
Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.10)
112+
Microsoft.Extensions.Logging (9.0.11)
113+
Microsoft.Extensions.DependencyInjection (>= 9.0.11)
114+
Microsoft.Extensions.Logging.Abstractions (>= 9.0.11)
115+
Microsoft.Extensions.Options (>= 9.0.11)
116+
Microsoft.Extensions.Logging.Abstractions (10.0)
117+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0)
118+
System.Diagnostics.DiagnosticSource (>= 10.0)
119119
Microsoft.Extensions.Logging.Configuration (9.0.10)
120120
Microsoft.Extensions.Configuration (>= 9.0.10)
121121
Microsoft.Extensions.Configuration.Abstractions (>= 9.0.10)
@@ -132,16 +132,16 @@ NUGET
132132
Microsoft.Extensions.Logging.Configuration (>= 9.0.10)
133133
Microsoft.Extensions.Options (>= 9.0.10)
134134
Microsoft.Extensions.ObjectPool (9.0.10)
135-
Microsoft.Extensions.Options (9.0.10)
136-
Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.10)
137-
Microsoft.Extensions.Primitives (>= 9.0.10)
135+
Microsoft.Extensions.Options (10.0)
136+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0)
137+
Microsoft.Extensions.Primitives (>= 10.0)
138138
Microsoft.Extensions.Options.ConfigurationExtensions (9.0.10)
139139
Microsoft.Extensions.Configuration.Abstractions (>= 9.0.10)
140140
Microsoft.Extensions.Configuration.Binder (>= 9.0.10)
141141
Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.10)
142142
Microsoft.Extensions.Options (>= 9.0.10)
143143
Microsoft.Extensions.Primitives (>= 9.0.10)
144-
Microsoft.Extensions.Primitives (9.0.10)
144+
Microsoft.Extensions.Primitives (10.0)
145145
Microsoft.Net.Http.Headers (9.0.10)
146146
Microsoft.Extensions.Primitives (>= 9.0.10)
147147
Microsoft.Testing.Extensions.Telemetry (2.0.1)
@@ -188,7 +188,7 @@ NUGET
188188
Serilog (>= 4.2)
189189
Serilog.Sinks.Console (6.0)
190190
Serilog (>= 4.0)
191-
System.Diagnostics.DiagnosticSource (9.0.10)
191+
System.Diagnostics.DiagnosticSource (10.0)
192192
System.IO.Pipelines (9.0.10)
193193
System.Reflection.Metadata (9.0.10)
194194
System.Text.Encodings.Web (9.0.10)

paket.references

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FSharp.Core
22
FSharp.AWS.DynamoDB
33
AWSSDK.SecurityToken
4-
Alma.ErrorHandling
4+
Feather.ErrorHandling
55
Alma.ServiceIdentification
66
Alma.Tracing

0 commit comments

Comments
 (0)