Cabal-install-git package

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Cabal-install-git package

Markus Ongyerth
Hello,

I created a PKGBUILD for cabal-install (from git) and wanted to upload it to
the aur. [1]

When I fetched the repository from the server, I got a PKGBUILD that already
exists, but isn't listed on the website.

#archlinux on freenode told me, that can happen when a repository was deleted
from the aur.
Is it possible to get my version in? Or was it removed, because a git HEAD
version of cabal-install is considered superseeded by something from the
official repos?

ongy


[1] https://github.com/Ongy/cabal-install-PKGBUILD

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Cabal-install-git package

tur-users mailing list
I'm not an expert but guess `git push -u <repo>` should make the deal.

On 13 May 2017 21:09:40 GMT+03:00, Markus Ongyerth <[hidden email]> wrote:

>Hello,
>
>I created a PKGBUILD for cabal-install (from git) and wanted to upload
>it to
>the aur. [1]
>
>When I fetched the repository from the server, I got a PKGBUILD that
>already
>exists, but isn't listed on the website.
>
>#archlinux on freenode told me, that can happen when a repository was
>deleted
>from the aur.
>Is it possible to get my version in? Or was it removed, because a git
>HEAD
>version of cabal-install is considered superseeded by something from
>the
>official repos?
>
>ongy
>
>
>[1] https://github.com/Ongy/cabal-install-PKGBUILD

--
Best regards,
Alex
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Reply | Threaded
Open this post in threaded view
|

Re: Cabal-install-git package

Rafael Fontenelle-2
In reply to this post by Markus Ongyerth
2017-05-13 15:09 GMT-03:00 Markus Ongyerth <[hidden email]>:

> Hello,
>
> I created a PKGBUILD for cabal-install (from git) and wanted to upload it
> to
> the aur. [1]
>
> When I fetched the repository from the server, I got a PKGBUILD that
> already
> exists, but isn't listed on the website.
>
> #archlinux on freenode told me, that can happen when a repository was
> deleted
> from the aur.
> Is it possible to get my version in? Or was it removed, because a git HEAD
> version of cabal-install is considered superseeded by something from the
> official repos?
>

Cloning, updating the PKGBUILD, creating the .SRCINFO, and then pushing it
back should probably do the job.


>
> [1] https://github.com/Ongy/cabal-install-PKGBUILD



If I may, I have some suggestions for your PKGBUILD:
1) adjust sed to remove "cabal" from pkgver
2) remove blank lines between the variables at start, and
3) move SANDBOX variable into build() as it is not used anywhere.
4) remove "cabal-install" as makedeps (your PKGBUILD provides it, so can't
depend on it)

Best Regards,
Rafael Fontenelle
Reply | Threaded
Open this post in threaded view
|

Re: Cabal-install-git package

tur-users mailing list
In reply to this post by Markus Ongyerth
On 05/13/2017 02:09 PM, Markus Ongyerth wrote:

> Hello,
>
> I created a PKGBUILD for cabal-install (from git) and wanted to upload it to
> the aur. [1]
>
> When I fetched the repository from the server, I got a PKGBUILD that already
> exists, but isn't listed on the website.
>
> #archlinux on freenode told me, that can happen when a repository was deleted
> from the aur.
> Is it possible to get my version in? Or was it removed, because a git HEAD
> version of cabal-install is considered superseeded by something from the
> official repos?
This means that an AUR package previously existed, but was deleted.
Package deletions will remove the website listing and comments, but will
not remove the git repo backing it, because we want to preserve history.
You may be able to find the reason it was deleted by searching through
the aur-requests mailing list.

Any deleted package can be restored by ssh'ing to the AUR and running
the 'restore <name>' command, or alternatively by cloning, appending a
new commit, and pushing the new history. (You may be able to simply push
the current version, I am not sure.)
Of course, you should probably try to make sure the reason it was
initially deleted does not still apply. :)

As per the AUR standards, you cannot force-push and remove the history,
even of a deleted package, so simply treat this the same way you would
treat a package that you took over maintenance for. Essentially, that is
what happened anyway, except you also have to trigger the recreation of
the website listing as well...

--
Eli Schwartz


signature.asc (849 bytes) Download Attachment