You are not logged in.

#1 2017-07-08 03:33:48

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

[SOLVED] asp build package

I have a question about using asp to build packages - once I get the [package] of interest, do I move it? or do I copy it? to my build directory on my pc.
The reason I ask is because where the package resides initially is a little confusing to me, the ...(git) - [master] location.

# asp checkout [package]

clones into git and gets the list and

# asp export [package]

gets the [package] of interest and shows location

~/.cache/asp/cache (git)-[master] # ls
[package]  remote-packages

  Thanks.

Last edited by WFV (2017-07-08 14:38:37)


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#2 2017-07-08 10:27:58

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: [SOLVED] asp build package

I'm not sure what you mean by "where the package resides initially is a little confusing to me, the ...(git) - [master] location", but if all you want is the current build files, use 'asp export' in the parent directory where you want a folder containing the build files to be created.

e.g.

$ cd ~/builds
$ asp export vim
remote: Counting objects: 1840, done.
remote: Compressing objects: 100% (1313/1313), done.
remote: Total 1840 (delta 587), reused 1610 (delta 509)
Receiving objects: 100% (1840/1840), 294.69 KiB | 0 bytes/s, done.
Resolving deltas: 100% (587/587), done.
From git://git.archlinux.org/svntogit/packages
 * branch            packages/vim -> FETCH_HEAD
 * [new branch]      packages/vim -> packages/packages/vim
==> exporting vim:trunk
$ cd vim
$ makepkg

You can move the folder or the contents wherever you want.

Use 'asp checkout' if you want the git history as well as the current build files.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-07-08 14:19:18

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

Re: [SOLVED] asp build package

@ WorMzy - thank you. I realize dumb questions to move or copy. The suffix (git) - [master] in the path name on my computer after getting the package is what I didn't understand why it shows as a repo. Just first my first time using asp and hadn't seen that when using the ABS method in the past. You're answer makes complete sense as now I understand to run asp from my build directory.

Last edited by WFV (2017-07-08 14:20:11)


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#4 2017-07-08 14:27:32

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: [SOLVED] asp build package

If you're happy with the answers, please remember to mark your thread as solved.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB