WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Problem with tce-updating wpa-supplicant?  (Read 5106 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Problem with tce-updating wpa-supplicant?
« on: December 30, 2009, 02:56:37 AM »
Code: [Select]
Error on fetch of /mnt/sda7/tce/wpa-supplicant.tcz.md5.txt
Could be a network issue or ...
that this extension has a new name or is no longer supported!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Problem with tce-updating wpa-supplicant?
« Reply #1 on: December 30, 2009, 03:23:40 AM »
Renamed to wpa_supplicant
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Problem with tce-updating wpa-supplicant?
« Reply #2 on: December 30, 2009, 10:59:55 AM »
Renaming extensions should occur only when absolutely necessary, as it breaks appsaudit and the integrity of existing tce installations.  If the original package is appname-lib, it should be changed to appname_lib upon the next upgrade of the extension.  I personally prefer dashes rather than underscores, but the important thing is to stick with whichever the extension was originally named with.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Problem with tce-updating wpa-supplicant?
« Reply #3 on: December 30, 2009, 11:14:52 AM »
You have made a number of other things standard.

Why not make this standard too?

Decide whether all extensions should use dashes or underscores, and whatever is decided, all new extensions can then be named that way. At some appropriate time, existing extensions can be renamed to comply.
Many people see what is. Some people see what can be, and make a difference.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Problem with tce-updating wpa-supplicant?
« Reply #4 on: December 30, 2009, 11:20:56 AM »
My apologies if I inconvenienced users with the name change, but after having completely missed the presence of the berkeley db due to the extension name not matching the source package name, I thought it better to rename the wpa_supplicant extension to match the source package name when it was updated.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Problem with tce-updating wpa-supplicant?
« Reply #5 on: December 30, 2009, 12:09:59 PM »
Personally, I don't see much gain in eliminating underscores, since they are used slightly differently (in place of spaces) then hyphens.  Standardizing deps/dep, eliminating tcz?, tce extensions are a different
issue IMHO.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Problem with tce-updating wpa-supplicant?
« Reply #6 on: December 30, 2009, 12:17:01 PM »
I guess it is kind of a catch-22, between preserving the upstream source name and standardizing on either dash or underscore.  I have harped on preserving upstream source names, which in general I think is a good idea.  But maybe we can perserve the upstream names except for using dash instead of underscore for the ease of standardization.

My preference would be to deviate from source names to use dash instead of underscore, which would make it easier for remembering extension names. If the dep file had these extensions in it a dash makes creating the dep file simpler and less prone to typos:

Code: [Select]
wpa-supplicant.tcz
gcc-lib.tcz
smallbasic-cli.tcz
docbook-xsl.tcz
gtk2-locale.tcz
gs-common-8.70.tcz

As opposed to:

Code: [Select]
wpa_supplicant.tcz
gcc_lib.tcz
bash-locale.tcz
gtk2_locale.tcz
docbook_xsl.tcz
gc_common-8.70.tcz
gtk-engines.tcz
gtk2_prefs.tcz

I made up some names in the latter to make a point, but using dash in all cases would further simplify the naming structure.

The naming structure has been a work in progress since the beginning,  and we have been living and learning along the way.  When the repo consisted of about 100 extensions, and there was no updating functions, or boot time dep processing, we didn't need to be very particular over the deatails that make a difference now.  But the dash vs underscore has to be one of the last details left to work out.  

When we move extensions to the 3.0 repo, the exsiting ones can be brought into compliance.


Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Problem with tce-updating wpa-supplicant?
« Reply #7 on: December 30, 2009, 12:39:46 PM »
Another thing to think about with standardization is program names. If you look at the application names in the menu, some start with small letters, some start with a capital letter, some are all capitals. It would be nice if there was some uniformity.
Many people see what is. Some people see what can be, and make a difference.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Problem with tce-updating wpa-supplicant?
« Reply #8 on: December 30, 2009, 12:44:54 PM »
Thats a good point. 

Lower cases, dash to seperate, and otherwise preserving upstream package naming would make things pretty uniform.  It may sound like being overly particular, but it would only make life easier.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Problem with tce-updating wpa-supplicant?
« Reply #9 on: December 30, 2009, 01:13:16 PM »
Is it possible to have spaces in names with more than one word in the menu?
« Last Edit: December 30, 2009, 01:15:40 PM by Guy »
Many people see what is. Some people see what can be, and make a difference.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Problem with tce-updating wpa-supplicant?
« Reply #10 on: December 30, 2009, 02:25:46 PM »
Spaces in the menu items seem to work ok in the WM's I am familiar with.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Problem with tce-updating wpa-supplicant?
« Reply #11 on: December 30, 2009, 02:49:53 PM »
I would strongly discourage using spaces in any file or directory name on a nix system. The default window manger uses directory and file names for it menu.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Problem with tce-updating wpa-supplicant?
« Reply #12 on: December 30, 2009, 02:54:46 PM »
Using dash '-' versus underscore '_' gives much different results when using grep -w. Apparently dash is treated as whitespace while underscore is not.
« Last Edit: December 30, 2009, 03:01:15 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Problem with tce-updating wpa-supplicant?
« Reply #13 on: December 30, 2009, 03:00:16 PM »
Oops, forgot about the directory based menu with flwm.  So even if some WM's accommodate spaces in menu names, menu entries should work with every WM, especially the default one.

And I was unaware of the dash vs underscore issue with grep.  If grep works better with underscore, we could standardize on underscore.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Problem with tce-updating wpa-supplicant?
« Reply #14 on: December 30, 2009, 04:47:17 PM »
Oops, forgot about the directory based menu with flwm.  So even if some WM's accommodate spaces in menu names, menu entries should work with every WM, especially the default one.

And I was unaware of the dash vs underscore issue with grep.  If grep works better with underscore, we could standardize on underscore.

Underscores are different than hyphens, so get treated differently. Scripts need to check for naming discrepancies anyway. I'm not against simplification, but would be cautious about overdoing it.