You are not logged in.

#1 2012-04-05 05:52:19

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Submitting a package whose project page is out of date?

I want to submit a package I made, but since my development computer cannot access the Web, I can't push my commits to Github. Instead, I decided to put the tarball on a thumb drive and upload it from another computer (this one), which accesses the 'net through a 3G dongle.

Before I submit though, is it a bad idea to publish the package before I can push my changes to Github? I didn't want to go forward without some advice.

Offline

#2 2012-04-05 06:27:12

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Submitting a package whose project page is out of date?

More details needed, you want to submit a new AUR package referencing your own project source which does not exist yet?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2012-04-05 08:13:51

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: Submitting a package whose project page is out of date?

It exists, but since my dev computer can't access the Internet, I can't update my github page to reflect the changes found in the source tarball that would be uploaded to the AUR.

Offline

#4 2012-04-05 14:55:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: Submitting a package whose project page is out of date?

source code is normally NOT included in Aur tarballs, can you post the PKGBUILD ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2012-04-06 21:40:55

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: Submitting a package whose project page is out of date?

It's a bit late now since I managed to find a way in my current living situation to make my update happen (Windows dualboot, copy files, install git... it was messy)

Here's the PKGBUILD, though:

# Maintainer: Daniel Campbell <dlcampbell@gmx.com>
pkgname=dupekill
pkgver=1.5
pkgrel=1
pkgdesc="A utility for deleting files with duplicate content."
arch=(any)
url="https://github.com/sporkbox/dupekill"
license=('custom')
groups=()
depends=('python>=3')
source=($pkgname 'LICENSE')
md5sums=('96ae9ce76781b3d252767c4379e4fad6'
         '66cb1d8398af4394e6526af81c5beadb')

package() {
mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/licenses/${pkgname}"
install -m755 $pkgname "${pkgdir}/usr/bin"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}

For the sake of discussion, assume I still wasn't able to update my git repo. I've since posted it to the AUR since I was able to update it, but I think this issue may apply to some others, too.

Offline

#6 2012-04-06 23:27:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: Submitting a package whose project page is out of date?

Er ... I'm not sure how long this will last in the AUR.  You are not supposed to upload the content on the AUR, just the PKGBUILD and any needed install file.

You're source array should point to a url from which the content can be retreived.

In other words, until the material is hosted at some other location there should not be a PKGBUILD for it.  So others should not face this problem.

Last edited by Trilby (2012-04-06 23:28:51)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2012-04-09 00:02:18

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: Submitting a package whose project page is out of date?

Okay, that makes things more clear. I noted the bit on the wiki about binaries but wasn't aware that _nothing_ else was allowed besides the PKGBUILD and .install files.

I guess I'm stuck until I get hosting. Thanks for clearing things up. I'll remove the package.

EDIT: Okay... I guess not. Someone else will have to delete it for me. Man, what happened to self-serve? sad

Last edited by xelados (2012-04-09 00:04:13)

Offline

#8 2012-04-09 00:12:38

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Submitting a package whose project page is out of date?

You have to post to the AUR general mailing list and ask to have your package removed.

Offline

#9 2012-04-09 00:25:28

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: Submitting a package whose project page is out of date?

That's rather bureaucratic and unnecessary... but alright. I'll look into that.

Offline

#10 2012-04-09 00:32:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: Submitting a package whose project page is out of date?

xelados wrote:

I guess I'm stuck until I get hosting.

Dropbox is simple and free.  Just make sure the tarball/file is in the "shared" folder and you'll be set.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2012-04-09 00:44:04

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: Submitting a package whose project page is out of date?

xelados wrote:

It exists, but since my dev computer can't access the Internet, I can't [...]

Crappy situation. Hoping to rectify it soon.

Offline

#12 2012-04-09 02:12:29

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Submitting a package whose project page is out of date?

BTW is it feasibly to transfer the dev files to the computer with net access and upload it from there?

Offline

#13 2012-04-09 19:23:15

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: Submitting a package whose project page is out of date?

Yes, but I don't have a place to host them. The project is already up on Github. Is there a way I can target a specific tag or commit and link to the raw version of the file(s) so pacman/makepkg will fetch them?

Offline

#14 2012-04-09 20:11:53

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: Submitting a package whose project page is out of date?

You shouldn't need a separate hosting, afaik GitHub projects have a download section.
you should be able to upload a tar.gz file with the source code there and use the url for that tarball in the PKGBUILD.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB