From a7c95ab5e40412569a65591b99f11e648799402b Mon Sep 17 00:00:00 2001 From: asandikci Date: Thu, 10 Aug 2023 00:33:40 +0300 Subject: [PATCH] chore: re-organize repo --- .gitignore | 6 +----- build/package/docker/Dockerfile => Dockerfile | 2 +- build/package/DEBIAN/control | 13 ------------- {build/package/DEBIAN => debian}/ahenkd-go.service | 0 4 files changed, 2 insertions(+), 19 deletions(-) rename build/package/docker/Dockerfile => Dockerfile (95%) delete mode 100644 build/package/DEBIAN/control rename {build/package/DEBIAN => debian}/ahenkd-go.service (100%) diff --git a/.gitignore b/.gitignore index 4e426ea..d0570f9 100644 --- a/.gitignore +++ b/.gitignore @@ -19,8 +19,4 @@ # vendor/ # Go workspace file -go.work - -### Modified -build/package/bin/ -build/*.deb \ No newline at end of file +go.work \ No newline at end of file diff --git a/build/package/docker/Dockerfile b/Dockerfile similarity index 95% rename from build/package/docker/Dockerfile rename to Dockerfile index 4cc368d..2599724 100644 --- a/build/package/docker/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # docker run -it -d --name CONT_NAME --mount type=bind,source=".",target=/ahenk-go/ IMAGE_NAME:VERSION "/bin/bash" -ARG CODE_VERSION=latest +ARG CODE_VERSION=sid FROM debian:${CODE_VERSION} RUN su -c "echo 'deb http://ftp.tr.debian.org/debian sid main' >> /etc/apt/sources.list.d/sid.list" diff --git a/build/package/DEBIAN/control b/build/package/DEBIAN/control deleted file mode 100644 index c85ef68..0000000 --- a/build/package/DEBIAN/control +++ /dev/null @@ -1,13 +0,0 @@ -Package: ahenk-go -Version: 1.0-1 -Section: utils -Priority: optional -Architecture: all -Maintainer: Aliberk Sandıkçı -Homepage: http://www.liderahenk.org -Description: The client side of the Lider Ahenk Project - Lider Ahenk is an open source project which provides solutions - to manage, monitor and audit unlimited number of different - systems and users on a network. -Build-Depends: dpkg-deb -Depends: go diff --git a/build/package/DEBIAN/ahenkd-go.service b/debian/ahenkd-go.service similarity index 100% rename from build/package/DEBIAN/ahenkd-go.service rename to debian/ahenkd-go.service