• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HicServices / RDMP / 21252979012

22 Jan 2026 02:53PM UTC coverage: 57.182% (-0.01%) from 57.196%
21252979012

push

github

web-flow
Task/rdmp 353 delta extractions (#2303)

* allow the addition of new columns to extraction archives

* update changelog

* allow extraction progess with no dqe set

* add option to no clone extraction progress

* update changelog

* fix typo

11497 of 21599 branches covered (53.23%)

Branch coverage included in aggregate %.

5 of 23 new or added lines in 2 files covered. (21.74%)

2 existing lines in 2 files now uncovered.

32576 of 55476 relevant lines covered (58.72%)

17872.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Rdmp.Core/CommandExecution/AtomicCommands/ExecuteCommandAddExtractionProgress.cs
1
// Copyright (c) The University of Dundee 2018-2019
2
// This file is part of the Research Data Management Platform (RDMP).
3
// RDMP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
4
// RDMP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
5
// You should have received a copy of the GNU General Public License along with RDMP. If not, see <https://www.gnu.org/licenses/>.
6

7
using Rdmp.Core.DataExport.Data;
8
using Rdmp.Core.Icons.IconProvision;
9
using Rdmp.Core.ReusableLibraryCode.Icons.IconProvision;
10
using SixLabors.ImageSharp;
11
using SixLabors.ImageSharp.PixelFormats;
12

13
namespace Rdmp.Core.CommandExecution.AtomicCommands;
14

15
/// <summary>
16
/// Adds a new <see cref="ExtractionProgress"/> for windowed date based extractions of a dataset.
17
/// </summary>
18
public class ExecuteCommandAddExtractionProgress : BasicCommandExecution
19
{
20
    private readonly ISelectedDataSets _sds;
21

22
    public ExecuteCommandAddExtractionProgress(IBasicActivateItems activator, ISelectedDataSets sds) : base(activator)
×
23
    {
24
        _sds = sds;
×
25

26
        if (_sds.ExtractionProgressIfAny != null)
×
27
        {
28
            SetImpossible("Catalogue already has an ExtractionProgress");
×
29
            return;
×
30
        }
UNCOV
31
    }
×
32

33
    public override Image<Rgba32> GetImage(IIconProvider iconProvider) =>
34
        iconProvider.GetImage(RDMPConcept.ExtractionProgress, OverlayKind.Add);
×
35

36
    public override void Execute()
37
    {
38
        base.Execute();
×
39

40
        var ep = new ExtractionProgress(BasicActivator.RepositoryLocator.DataExportRepository, _sds);
×
41
        Publish(ep);
×
42
        Activate(ep);
×
43
    }
×
44
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc