<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpt/src, branch full-pkg-path</title>
<subtitle>[MIRROR] Carbs Packaging Tools
</subtitle>
<id>https://git.carbslinux.org/cpt/atom?h=full-pkg-path</id>
<link rel='self' href='https://git.carbslinux.org/cpt/atom?h=full-pkg-path'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/'/>
<updated>2020-11-09T13:25:46+00:00</updated>
<entry>
<title>Merge branch 'master' into full-pkg-path</title>
<updated>2020-11-09T13:25:46+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-11-09T13:25:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=981961fbfa71af661ac611a13a0707b407d07643'/>
<id>urn:sha1:981961fbfa71af661ac611a13a0707b407d07643</id>
<content type='text'>
FossilOrigin-Name: 116d2928ca61b3db6ae9c2c7719838b488db938f6f1ca76b483d4ef9da7cf3d0</content>
</entry>
<entry>
<title>cpt-lib: don't make main() a function unto itself</title>
<updated>2020-11-09T13:21:18+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-11-09T13:21:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=c10e49d9caf08d0729024f5cf770634a739ebbe3'/>
<id>urn:sha1:c10e49d9caf08d0729024f5cf770634a739ebbe3</id>
<content type='text'>
FossilOrigin-Name: 3f01d4659d9f4e7488387436153fc9a20723b40f28515c5020172a83eb88128b</content>
</entry>
<entry>
<title>getoptions(): parse the options during main() call on cpt-lib</title>
<updated>2020-11-09T13:03:20+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-11-09T13:03:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=13e58869dc0bf24acacc98650ef95d0d27598a4f'/>
<id>urn:sha1:13e58869dc0bf24acacc98650ef95d0d27598a4f</id>
<content type='text'>
Calling parse() after cpt-lib has been called causes sys_db to be initiated
using the wrong CPT_ROOT, among other issues. By calling the option parser
during the main(), we make sure that the options parsed are used as soon as
possible.

FossilOrigin-Name: 2933b99bec8ec9c3f20143e2a19c270a6d208f723d2b394c625cbc13d2625326</content>
</entry>
<entry>
<title>cpt-lib: fix shellcheck error</title>
<updated>2020-11-03T15:08:19+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-11-03T15:08:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=85a95118d4427f9d49a227f91f379be5bec385e3'/>
<id>urn:sha1:85a95118d4427f9d49a227f91f379be5bec385e3</id>
<content type='text'>
FossilOrigin-Name: 9b88780f4576b44b7578dd7758f8c2a967d11ff6a86566c08dd5b4ccf04f2309</content>
</entry>
<entry>
<title>cpt-lib: fix shellcheck error</title>
<updated>2020-11-03T15:02:10+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-11-03T15:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=a28f051f36c99ea919097d1dcc2daf7da23ed980'/>
<id>urn:sha1:a28f051f36c99ea919097d1dcc2daf7da23ed980</id>
<content type='text'>
FossilOrigin-Name: ac2b03e9727ca199b8a3d27871cc5e7570137e732fb3c756aa95821ff5304555</content>
</entry>
<entry>
<title>Merge branch 'master' into full-pkg-path</title>
<updated>2020-11-03T14:31:34+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-11-03T14:31:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=d4b35011ca8a4adc7df1c4e4817b725f08e2b761'/>
<id>urn:sha1:d4b35011ca8a4adc7df1c4e4817b725f08e2b761</id>
<content type='text'>
FossilOrigin-Name: 861b2bc770f19bdcec07c8739437eaf96250126303041e1d844ff5fbac7c6afd</content>
</entry>
<entry>
<title>cpt-search: add '--others' option</title>
<updated>2020-11-03T14:28:00+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-11-03T14:28:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=76dd7e5a7cd0ea088f7d9d857b7ad6a84a03b611'/>
<id>urn:sha1:76dd7e5a7cd0ea088f7d9d857b7ad6a84a03b611</id>
<content type='text'>
If cpt-search was called from a package directory, adding the '-o' option makes
it output only the other instances of the package.

FossilOrigin-Name: edf17ee77fb06aecbc6d409d49390aea2719af012ca8be2b7daf1dbda88da269</content>
</entry>
<entry>
<title>Make cpt accept package paths (*/package)</title>
<updated>2020-11-01T18:32:21+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-11-01T18:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=e6c3a8bb955ad76aaf2f40472f3d675e494106a8'/>
<id>urn:sha1:e6c3a8bb955ad76aaf2f40472f3d675e494106a8</id>
<content type='text'>
This new implementation idea makes it possible for a user to specify a full-path
(or a relative path) to a package directory in order to use it as the main
package directory. This will hopefully make it to the next version, while at
this point I don't have any issues with packages, I am sure this will require
some fixes until it will be merged to the master branch.

Overall, this shouldn't add some extra complexities to the package manager, the
only "big" change was on 'pkg_find()', and returning a full path is much faster
than going through all of the repositories to find a match.

Core functionality change:

pkg_find():
  If pkg_find receives a path to some package, instead of searching for the
  $CPT_PATH, it will echo it back.

  NOTE:
  Even if there is a package on the current directory, 'pkg_find package' will
  search the $CPT_PATH. If you want to use the package on the current directory,
  you will need to run 'pkg_find ./package' instead.

  IDEA:
  The 'cd -P' approach can be replaced with cpt-readlink, but even though
  cpt-readlink is faster than 'cd -P', we don't want to call a new process for
  such a simple thing.

FossilOrigin-Name: 90298fa52d7bef136aaf50fa900ba79b94abe32903955b043d959d9dcb6706ec</content>
</entry>
<entry>
<title>src: update parser definitions</title>
<updated>2020-10-31T12:17:53+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-10-31T12:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=3591d3541eb9d79dd23de43995be0e8c05d83213'/>
<id>urn:sha1:3591d3541eb9d79dd23de43995be0e8c05d83213</id>
<content type='text'>
FossilOrigin-Name: 8f46944f81271ff851a5d21bfbaa21ad86f8cf120ef22bf8f9a64ecd3f339eb3</content>
</entry>
<entry>
<title>getoptions: update to 2.0.1</title>
<updated>2020-10-31T10:44:54+00:00</updated>
<author>
<name>merakor</name>
<email>cem@ckyln.com</email>
</author>
<published>2020-10-31T10:44:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/cpt/commit/?id=b68bc7228a97daf54ac8a6bfa1f7961d7e7dc212'/>
<id>urn:sha1:b68bc7228a97daf54ac8a6bfa1f7961d7e7dc212</id>
<content type='text'>
FossilOrigin-Name: cdbd1a2ac3828872b8de526e0030d71efbe2ff2a43f62ad05a2bbbe9eab229f6</content>
</entry>
</feed>
