LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-11-2012, 08:21 AM   #1
ibasaran
LQ Newbie
 
Registered: Sep 2012
Posts: 8

Rep: Reputation: Disabled
How can validate debian repository url.


Hii All,

i have an application that is managing repositories. users can add repository url and before save this url, i want to valide that url is valid debian repository url or not.

how can achive this.

Thanks
 
Old 10-11-2012, 08:35 AM   #2
ibasaran
LQ Newbie
 
Registered: Sep 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
is there a regular expression for this ?
 
Old 10-11-2012, 09:51 AM   #3
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
I think what you are asking for is a keyring. something like the debian-archive-keyring created with gnupg.
 
Old 10-11-2012, 10:04 AM   #4
ibasaran
LQ Newbie
 
Registered: Sep 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
there is a input box and users writing their repository url to this input box like deb ftp://ftp2.fr.debian.org/debian/ stable main contrib non-free and pressing save button. i am saving that url to sourceslist but user also can write any url and i am saving to sourceslist.

i want to give a warning to user this url is not a debian repository url if user write inapplicable url like "http://www.linuxquestions.org/"

i dont know how is working debian-archive-keyring. i will search it. if you know how is working can you give me a sample ?

Thanks for your reply

Last edited by ibasaran; 10-11-2012 at 10:11 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SVN repository URL format jjonas Linux - General 1 09-21-2012 08:35 AM
How to download a .deb given only the repository URL? alexander_bosakov Linux - Software 2 08-06-2011 06:29 AM
URL of the sid repository? newbiesforever Debian 2 09-02-2009 05:55 PM
SuSE Repository url list moutaye SUSE / openSUSE 3 10-12-2008 09:10 AM
I need debian repository URL after offline installation crisostomo_enrico Debian 3 11-20-2007 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration