WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: -devs vs -dev  (Read 12098 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
-devs vs -dev
« on: November 25, 2009, 07:53:47 PM »
We have 50 development extensions with the -dev suffix, and 78 that use -devs.  It makes it hard to remember extension names, having to look it up if, say, I wanted to install the dev package for lesstif but didn't remember if it was lesstif-dev or lesstif-devs. 

Though I used -devs for a long time, my preference would be to settle on -dev and -locale, rather than -devs and -locales.  Let me know if this is not agreeable.  Either way there is a bit of migration. But we do need to standardize on one or the other for the long haul.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: -devs vs -dev
« Reply #1 on: November 25, 2009, 08:34:15 PM »
Sounds fine.  Same for -libs vs -lib?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: -devs vs -dev
« Reply #2 on: November 25, 2009, 09:12:24 PM »
Yeah, -dev -lib -locale -doc.  In other words, no longer plural. 

Offline Kingdomcome

  • Sr. Member
  • ****
  • Posts: 286
Re: -devs vs -dev
« Reply #3 on: November 25, 2009, 09:37:31 PM »
Ive been grumbling quietly to myself about this issue over the past few months but decided it was worth bringing up to the group.  I totally support normalizing to one or the other, although I have no preference on which.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: -devs vs -dev
« Reply #4 on: November 26, 2009, 01:09:39 AM »
Good idea!

I'd just like to suggest to give users a heads-up (e.g. via this thread) as you are about to change the names. I'd like to avoid re-downloading all those .tcz files for my private mirror, since I can do the renaming myself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: -devs vs -dev
« Reply #5 on: November 26, 2009, 02:13:27 AM »
I wanted to add a p ragraph to the Creating Extensions section in the WIKI I'm updating, proposing the split up extensions and came across with the naming convention too.

Lets make a 'standard'. Personally all of my extensions are using -dev -doc -locale as I like shorter names and don't like -devs, but any common agreement is fine.
Béla
Ham Radio callsign: HA5DI

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

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: -devs vs -dev
« Reply #6 on: November 26, 2009, 02:36:00 AM »
Or we could just submit both:  :D

ntfs-3g-dev, ntfs-3g-devs

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: -devs vs -dev
« Reply #7 on: November 26, 2009, 02:43:31 AM »
Or we could just submit both:  :D

ntfs-3g-dev, ntfs-3g-devs

Too much coffee ?  :D
Béla
Ham Radio callsign: HA5DI

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

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: -devs vs -dev
« Reply #8 on: November 26, 2009, 07:20:01 AM »
Ok,  as no one seems to have an issue with using -dev, -locale, -doc, -lib, etc, we will go ahead with it.

Extensions named -devs, -decs, -locales, -libs, etc will be turned away.  I will rename the existing as it would be good to get this process out of the way since is going to throw a monkey wrench in extension audit functions.  Hopefully I will finish it this week.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: -devs vs -dev
« Reply #9 on: November 26, 2009, 07:33:43 AM »
Also .dep files must be adjusted.
Béla
Ham Radio callsign: HA5DI

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

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: -devs vs -dev
« Reply #10 on: November 26, 2009, 07:51:47 AM »
Dep files will certainly be adjusted.  Now that we have determined that 4096 block size is good to go, I can remove the old backup of 128k bs extensions and make a copy of the current one online to work with.  With a few commands I can make the change that will rename the extensions and fix the info and dep files.  I could do it on my own mirror but it would take a couple of days to upload it all. 

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: -devs vs -dev
« Reply #11 on: November 26, 2009, 08:04:55 AM »
Rather, I will refresh my own mirror and make the changes there, and upload the changed files.  Safer and less stress that way.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: -devs vs -dev
« Reply #12 on: November 26, 2009, 10:31:12 AM »
ALso, use a dash instead of an underscore.  Like -dev rather than _dev.  Underscores will also be rejected.  A standard will make life so much easier in maintaining the repo.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: -devs vs -dev
« Reply #13 on: November 26, 2009, 10:53:47 AM »
It is done on my mirror.  ORBit and  GConf, libbonobo, gnome-vfs all had their version numbers removed and brought into naming conformance.  I will double check things this afternoon and upload tonight.

I will then hand prune the old files as I don't want to risk accidental deletion of wanted files on the main server.  The presence of the old files will not constitute a broken repo, but I will get them out of the way as soon as possible.

Base-devs has changed to base-dev, but gcc_libs remains the same.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: -devs vs -dev
« Reply #14 on: November 26, 2009, 04:08:46 PM »
I will now start the uploading of the changed files.  Should be done in a few hours.

Though this will play havoc with appsaudit for existing tce collections for now, once this is out of the way and the standard is in place things should be a lot smoother with extension updates.

In fact, though library extensions are critical not to have version numbers in the names, our appsaudit tool and the upgrade process depends on extensions keeping the same name across upgrades.  So end use binaries are also much better off without version numbers in the name.  Library extensions are strictly prohibited from having version numbers in their names, but end use apps are strongly encouraged to follow suit.  If needed, names like icewm-current, or poppler-stable, or jwm-snapshot, or wget-svn can be used to indicate a difference between similar apps in the repo instead of version numbers.