mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
Bump up some of the field lengths
Avoid truncation for slightly longer fields (as happened with PN and SUMMARY when importing some existing layers). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
0c3ed04bcd
commit
a7323361ff
|
@ -41,11 +41,11 @@ class LayerItem(models.Model):
|
|||
layer_type = models.CharField(max_length=1, choices=LAYER_TYPE_CHOICES)
|
||||
summary = models.CharField(max_length=200, help_text='One-line description of the layer')
|
||||
description = models.TextField()
|
||||
vcs_url = models.CharField('Repository URL', max_length=200, help_text='Fetch/clone URL of the repository')
|
||||
vcs_url = models.CharField('Repository URL', max_length=255, help_text='Fetch/clone URL of the repository')
|
||||
vcs_web_url = models.URLField('Repository web interface URL', blank=True, help_text='URL of the web interface for browsing the repository, if any')
|
||||
vcs_web_tree_base_url = models.CharField('Repository web interface tree base URL', max_length=200, blank=True, help_text='Base URL for the web interface for browsing directories within the repository, if any')
|
||||
vcs_web_file_base_url = models.CharField('Repository web interface file base URL', max_length=200, blank=True, help_text='Base URL for the web interface for viewing files (blobs) within the repository, if any')
|
||||
usage_url = models.CharField('Usage web page URL', max_length=200, blank=True, help_text='URL of a web page with more information about the layer and how to use it, if any (or path to file within repository)')
|
||||
vcs_web_tree_base_url = models.CharField('Repository web interface tree base URL', max_length=255, blank=True, help_text='Base URL for the web interface for browsing directories within the repository, if any')
|
||||
vcs_web_file_base_url = models.CharField('Repository web interface file base URL', max_length=255, blank=True, help_text='Base URL for the web interface for viewing files (blobs) within the repository, if any')
|
||||
usage_url = models.CharField('Usage web page URL', max_length=255, blank=True, help_text='URL of a web page with more information about the layer and how to use it, if any (or path to file within repository)')
|
||||
mailing_list_url = models.URLField('Mailing list URL', blank=True, help_text='URL of the info page for a mailing list for discussing the layer, if any')
|
||||
|
||||
class Meta:
|
||||
|
@ -195,9 +195,9 @@ class Recipe(models.Model):
|
|||
layerbranch = models.ForeignKey(LayerBranch)
|
||||
filename = models.CharField(max_length=255)
|
||||
filepath = models.CharField(max_length=255, blank=True)
|
||||
pn = models.CharField(max_length=40, blank=True)
|
||||
pn = models.CharField(max_length=100, blank=True)
|
||||
pv = models.CharField(max_length=100, blank=True)
|
||||
summary = models.CharField(max_length=100, blank=True)
|
||||
summary = models.CharField(max_length=200, blank=True)
|
||||
description = models.TextField(blank=True)
|
||||
section = models.CharField(max_length=100, blank=True)
|
||||
license = models.CharField(max_length=100, blank=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user