Skip to content

Import All will not import anything that doesn't already exist if compileOnImport is not set #798

Closed

Description

@raymond-rebbeck

Since 03607e9 Import All will no longer import items that do not already exist if compileOnImport = 0, on the first attempt.

Because AddToServerSideSourceControl no longer imports the item too, then such an item simply gets added to source control but does not get imported as the pull event handler is not subsequently invoked. The pull event handler would otherwise have imported the item too.

With a subsequent repeated invocation of Import All the item will be imported as items that are already in source control do get imported, as shown in the following code snippet:

if ..IsInSourceControl(internalName) {
set sc = ..ImportItem(internalName, force)
} else {
set sc = ..AddToServerSideSourceControl(internalName)
}

Calling Import All multiple times unnecessarily can be very time consuming on large code bases. Import All should import these items too as it did prior to the earlier referenced commit.

IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.1.4 (Build 516_1U) Sat May 31 2025 12:35:51 EDT

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions