fixed namespace and clone target

This commit is contained in:
Philipp Häfelfinger 2019-03-01 21:36:16 +01:00
parent 704a3da759
commit 930d27bff7
10 changed files with 15 additions and 15 deletions

View File

@ -3,7 +3,7 @@ package main
import ( import (
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/vharitonsky/iniflags" "github.com/vharitonsky/iniflags"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/app" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/app"
"os" "os"
) )

View File

@ -5,9 +5,9 @@ import (
"flag" "flag"
"fmt" "fmt"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/localFileStructure" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/localFileStructure"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/authentication" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/authentication"
"os" "os"
) )

View File

@ -4,8 +4,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/localFileStructure" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/localFileStructure"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/category" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/category"
"path/filepath" "path/filepath"
"sort" "sort"
) )

View File

@ -3,9 +3,9 @@ package app
import ( import (
"errors" "errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/localFileStructure" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/localFileStructure"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/category" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/category"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/picture" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo/picture"
) )
func synchronizeImages(context *appContext, fileSystem map[string]*localFileStructure.FilesystemNode, existingCategories map[string]*category.PiwigoCategory) error { func synchronizeImages(context *appContext, fileSystem map[string]*localFileStructure.FilesystemNode, existingCategories map[string]*category.PiwigoCategory) error {

View File

@ -1,7 +1,7 @@
package app package app
import ( import (
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo"
) )
type appContext struct { type appContext struct {

View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo"
"net/url" "net/url"
"strings" "strings"
) )

View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo"
"net/url" "net/url"
) )

View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo"
"net/url" "net/url"
"os" "os"
) )

View File

@ -3,7 +3,7 @@ package picture
import ( import (
"encoding/json" "encoding/json"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo"
"net/url" "net/url"
"strings" "strings"
) )

View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo" "git.haefelfinger.net/piwigo/DirectoriesToAlbums/internal/pkg/piwigo"
"net/url" "net/url"
"strconv" "strconv"
) )