Goodbye Github 08 August 2018, 23:28:09 We have moved away from Github.Our new source repositories are hosted at our self-hosted GIT server.The Artix repositories on Github have been archived.
Re: Goodbye Github Reply #2 – 09 August 2018, 21:19:47 Before on GitHub if I wanted to download the pkgbuild and related files to build an Artix package I could use svn to get just those files and not the whole repo in a single command. Some packages have several files so it is time consuming to copy, paste, and name them manually. But now when I try this on the new repo it fails with an authentication error, and asks for a password.Code: [Select]svn export https://github.com/artix-linux/packages/trunk/openrc/repos/core-x86_64svn export https://gitea.artixlinux.org/artix/packages/trunk/openrc/repos/core-x86_64Perhaps there is a better way to do this, and it is not at all urgent or a big problem.
Re: Goodbye Github Reply #3 – 10 August 2018, 08:09:06 Quote from: ####### – on 09 August 2018, 21:19:47Before on GitHub if I wanted to download the pkgbuild and related files to build an Artix package I could use svn to get just those files and not the whole repo in a single command. Some packages have several files so it is time consuming to copy, paste, and name them manually. But now when I try this on the new repo it fails with an authentication error, and asks for a password.Code: [Select]svn export https://github.com/artix-linux/packages/trunk/openrc/repos/core-x86_64svn export https://gitea.artixlinux.org/artix/packages/trunk/openrc/repos/core-x86_64Perhaps there is a better way to do this, and it is not at all urgent or a big problem. You can clone per package withCode: [Select]git clone https://gitea.artixlinux.org/packages/<name-of-package>.git
Re: Goodbye Github Reply #4 – 10 August 2018, 15:25:27 Thank you for that, it works pretty well, but you get 2 copies, while with svn you only got 1:Code: [Select]$ ls -R.:openrc./openrc:repos trunk./openrc/repos:core-x86_64./openrc/repos/core-x86_64:openrc-hook openrc.install openrc-install.hook openrc.logrotate openrc-remove.hook PKGBUILD sysctl.conf sysctl.hook./openrc/trunk:openrc-hook openrc.install openrc-install.hook openrc.logrotate openrc-remove.hook PKGBUILD sysctl.conf sysctl.hookI think the trunk directory is probably intended for svn use, copied from the GitHub setup, so I suppose you could do away with it and make it git only which would work better with git. Or it looks like svn access could possibly be fixed by altering the server permissions to create a read only svn repo so it works like GitHub:https://serverfault.com/questions/212097/svn-how-to-setup-a-read-only-branch-in-subversion
Re: Goodbye Github Reply #5 – 10 August 2018, 15:32:00 Quote from: ####### – on 10 August 2018, 15:25:27Thank you for that, it works pretty well, but you get 2 copies, while with svn you only got 1:Code: [Select]$ ls -R.:openrc./openrc:repos trunk./openrc/repos:core-x86_64./openrc/repos/core-x86_64:openrc-hook openrc.install openrc-install.hook openrc.logrotate openrc-remove.hook PKGBUILD sysctl.conf sysctl.hook./openrc/trunk:openrc-hook openrc.install openrc-install.hook openrc.logrotate openrc-remove.hook PKGBUILD sysctl.conf sysctl.hookI think the trunk directory is probably intended for svn use, copied from the GitHub setup, so I suppose you could do away with it and make it git only which would work better with git. Or it looks like svn access could possibly be fixed by altering the server permissions to create a read only svn repo so it works like GitHub:https://serverfault.com/questions/212097/svn-how-to-setup-a-read-only-branch-in-subversionWe do not use subversion.The reason for the trunk, and yes its originating in arch's usage of svn, is to have a safe anchor for package removal from a repo.Trunk is gonna remain, it serves a specific purpose.As konimex pointed out, you can clone simply a package repo with git.
Re: Goodbye Github Reply #6 – 10 August 2018, 21:18:58 Glad to hear the explanation - I only recently started using subversion as well as git because it was useful to download particular folders on GitHub, which for some reason was the easiest way to do that there.
Re: Goodbye Github Reply #7 – 22 August 2018, 20:00:30 OK, thanks for the work.Will it stay consistent, that the subdirectories will be 'core-*', 'extra-*' and 'community-*' when the packages in Artix Linux will be from 'system', 'world' and 'galaxy', respectively?I am working on some scripting to automatically find the right subdirectory depending on the repository, so I need some consistency and that information.
Re: Goodbye Github Reply #8 – 22 August 2018, 20:07:03 Naming is the same.Just look around.You may also find this helpful.
Re: Goodbye Github Reply #9 – 23 August 2018, 00:20:17 Quote from: artoo – on 22 August 2018, 20:07:03Naming is the same.Just encountered:'lib32/wine' has the data in 'repos/core-x86_64', and not, as it would be expected, 'repos/multilib-x86_64'.
Re: Goodbye Github Reply #10 – 03 September 2018, 10:33:19 We reopened the github packages repos. They are now mirrors intended for public usage, but it won't accept Pull Requests, since being mirrors only.https://github.com/artix-linux/packageshttps://github.com/artix-linux/packages-galaxy
Naming convention changed -- how to programmatically fetch an individual repo? Reply #11 – 17 December 2018, 14:10:15 Hey,Quote from: konimex – on 10 August 2018, 08:09:06You can clone per package withCode: [Select]git clone https://gitea.artixlinux.org/packages/<name-of-package>.gitI just encountered that the URLs of the per-package repositories changed:Now it is something likeCode: [Select]https://gitea.artixlinux.org/package<suffix>/<name-of-package>.gitwhere <suffix> is in many, but not all, cases the first letter capitalised of <name-of-package>.Is there any programmatic way to determine the correct URL, to be able to automatically download the package recipe's repo when ownly knowing the package's name?
Re: Goodbye Github Reply #12 – 17 December 2018, 16:32:41 Quote from: dreieck – on 17 December 2018, 14:10:15grammatic way to determine the correct URL, to be able to automatically download the package recipe's repo when ownly knowing the package's name?Yup, here, in this case plain bash.
Re: Goodbye Github Reply #13 – 18 December 2018, 03:49:02 Because https://gitea.artixlinux.org doesn't accept new users, I can't register an account on it and report issues.There is an issue that needs to be fixed. elogind binary from the latest version of elogind depends on libaudit.so.1 from audit. But, elogind package doesn't depend on audit package. Because of this issue, XFCE shutdown buttons are disabled. I have to execute `shutdown -h now` on terminal emulators.I had to roll elogind back to a previous version. Last Edit: 18 December 2018, 04:24:51 by MilkCow
Re: Goodbye Github Reply #14 – 20 December 2018, 19:09:04 Quote from: artoo – on 17 December 2018, 16:32:41Yup, here, in this case plain bash.thanks,so I should use artools to refer to how to use gitea.Is the artools source to be regarded as the official "API" documentation, or is artools the only "official" API to interact with the repos?